ruby-changes:11056
From: akr <ko1@a...>
Date: Thu, 26 Feb 2009 23:24:03 +0900 (JST)
Subject: [ruby-changes:11056] Ruby:r22650 (trunk): rdoc update.
akr 2009-02-26 23:18:09 +0900 (Thu, 26 Feb 2009) New Revision: 22650 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22650 Log: rdoc update. Modified files: trunk/ext/socket/raddrinfo.c Index: ext/socket/raddrinfo.c =================================================================== --- ext/socket/raddrinfo.c (revision 22649) +++ ext/socket/raddrinfo.c (revision 22650) @@ -746,7 +746,7 @@ * Addrinfo.new(sockaddr, family, socktype, protocol) => addrinfo * * returns a new instance of Addrinfo. - * It the instnace contains sockaddr, family, socktype, protocol. + * The instnace contains sockaddr, family, socktype, protocol. * sockaddr means struct sockaddr which can be used for connect(2), etc. * family, socktype and protocol are integers which is used for arguments of socket(2). * @@ -766,7 +766,7 @@ * * In an AF_INET/AF_INET6 sockaddr array, the 4th element, * numeric IP address, is used to construct socket address in the Addrinfo instance. - * The 3rd element, textual host name, is also recorded but only used for Addrinfo#inspect. + * If the 3rd element, textual host name, is non-nil, it is also recorded but used only for Addrinfo#inspect. * * family is specified as an integer to specify the protocol family such as Socket::PF_INET. * It can be a symbol or a string which is the constant name -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/