mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a40be09d6
commit
1561d3fb8b
4 changed files with 30 additions and 1 deletions
|
@ -264,7 +264,7 @@ ip_recvfrom(int argc, VALUE *argv, VALUE sock)
|
|||
* call-seq:
|
||||
* IPSocket.getaddress(host) => ipaddress
|
||||
*
|
||||
* Lookups IP address of _host_.
|
||||
* Lookups the IP address of _host_.
|
||||
*
|
||||
* IPSocket.getaddress("localhost") #=> "127.0.0.1"
|
||||
* IPSocket.getaddress("ip6-localhost") #=> "::1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue