diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 00:18:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 00:18:53 +0000 |
commit | 2acc18ad994a5ac8091e1a622140d36f7252f946 (patch) | |
tree | 6e505f39b36f5bbf027d73375d351f2637427cdd | |
parent | d1ec92918853473c77d6d7e6d93e1bec70807baa (diff) | |
download | ruby-2acc18ad994a5ac8091e1a622140d36f7252f946.tar.gz |
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/socket/ancdata.c | 10 | ||||
-rw-r--r-- | ext/socket/option.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/socket/ancdata.c b/ext/socket/ancdata.c index 93997df3fd..468693f078 100644 --- a/ext/socket/ancdata.c +++ b/ext/socket/ancdata.c @@ -60,8 +60,8 @@ ip_cmsg_type_to_sym(int level, int cmsg_type) * * _cmsg_data_ should be a string. * - * p Socket::AncillaryData.new(:INET, :TCP, :NODELAY, "")' - * #=> #<Socket::AncillaryData: AF_INET TCP NODELAY ""> + * p Socket::AncillaryData.new(:INET, :TCP, :NODELAY, "") + * #=> #<Socket::AncillaryData: INET TCP NODELAY ""> * * p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "") * #=> #<Socket::AncillaryData: INET6 IPV6 PKTINFO ""> @@ -184,7 +184,7 @@ ancillary_data(VALUE self) * The size and endian is dependent on the host. * * p Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno) - * #=> #<Socket::AncillaryData: AF_UNIX SOCKET RIGHTS 2> + * #=> #<Socket::AncillaryData: UNIX SOCKET RIGHTS 2> */ static VALUE ancillary_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE vtype, VALUE integer) @@ -580,8 +580,8 @@ anc_inspect_ipv6_pktinfo(int level, int type, VALUE data, VALUE ret) * * returns a string which shows ancillarydata in human-readable form. * - * Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect - * #=> #<Socket::AncillaryData: AF_INET6 IPV6 PKTINFO ""> + * p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect + * #=> "#<Socket::AncillaryData: INET6 IPV6 PKTINFO \"\">" */ static VALUE ancillary_inspect(VALUE self) diff --git a/ext/socket/option.c b/ext/socket/option.c index f0f5806276..eeb292dc76 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -127,7 +127,7 @@ sockopt_data(VALUE self) * The size and endian is dependent on the host. * * p Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1) - * #=> #<Socket::Option: AF_INET SOCKET KEEPALIVE 1> + * #=> #<Socket::Option: INET SOCKET KEEPALIVE 1> */ static VALUE sockopt_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE voptname, VALUE vint) |