From 2acc18ad994a5ac8091e1a622140d36f7252f946 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 10 Feb 2009 00:18:53 +0000 Subject: [PATCH] rdoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/ancdata.c | 10 +++++----- 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, "")' - * #=> # + * p Socket::AncillaryData.new(:INET, :TCP, :NODELAY, "") + * #=> # * * p Socket::AncillaryData.new(: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) - * #=> # + * #=> # */ 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 - * #=> # + * p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect + * #=> "#" */ 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) - * #=> # + * #=> # */ static VALUE sockopt_s_int(VALUE klass, VALUE vfamily, VALUE vlevel, VALUE voptname, VALUE vint)