mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97cbab78dc
commit
3f9d4f1fbd
1 changed files with 3 additions and 1 deletions
|
@ -1398,13 +1398,15 @@ addrinfo_s_getaddrinfo(int argc, VALUE *argv, VALUE self)
|
|||
return addrinfo_list_new(node, service, family, socktype, protocol, flags);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* AddrInfo.ip(host) => addrinfo
|
||||
*
|
||||
* returns an addrinfo object for IP address.
|
||||
*
|
||||
* The port, socktype, protocol of the result is filled by zero.
|
||||
* So, it is not appropriate to create a socket.
|
||||
*
|
||||
* AddrInfo.ip("localhost") #=> #<AddrInfo: 127.0.0.1 (localhost)>
|
||||
*/
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue