1
0
Fork 0
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@22193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-10 00:18:53 +00:00
parent d1ec929188
commit 2acc18ad99
2 changed files with 6 additions and 6 deletions

View file

@ -60,8 +60,8 @@ ip_cmsg_type_to_sym(int level, int cmsg_type)
* *
* _cmsg_data_ should be a string. * _cmsg_data_ should be a string.
* *
* p Socket::AncillaryData.new(:INET, :TCP, :NODELAY, "")' * p Socket::AncillaryData.new(:INET, :TCP, :NODELAY, "")
* #=> #<Socket::AncillaryData: AF_INET TCP NODELAY ""> * #=> #<Socket::AncillaryData: INET TCP NODELAY "">
* *
* p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "") * p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "")
* #=> #<Socket::AncillaryData: 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. * The size and endian is dependent on the host.
* *
* p Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno) * p Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno)
* #=> #<Socket::AncillaryData: AF_UNIX SOCKET RIGHTS 2> * #=> #<Socket::AncillaryData: UNIX SOCKET RIGHTS 2>
*/ */
static VALUE static VALUE
ancillary_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE vtype, VALUE integer) 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. * returns a string which shows ancillarydata in human-readable form.
* *
* Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect * p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect
* #=> #<Socket::AncillaryData: AF_INET6 IPV6 PKTINFO ""> * #=> "#<Socket::AncillaryData: INET6 IPV6 PKTINFO \"\">"
*/ */
static VALUE static VALUE
ancillary_inspect(VALUE self) ancillary_inspect(VALUE self)

View file

@ -127,7 +127,7 @@ sockopt_data(VALUE self)
* The size and endian is dependent on the host. * The size and endian is dependent on the host.
* *
* p Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1) * p Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1)
* #=> #<Socket::Option: AF_INET SOCKET KEEPALIVE 1> * #=> #<Socket::Option: INET SOCKET KEEPALIVE 1>
*/ */
static VALUE static VALUE
sockopt_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE voptname, VALUE vint) sockopt_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE voptname, VALUE vint)