ruby-changes:32560
From: akr <ko1@a...>
Date: Sat, 18 Jan 2014 21:44:41 +0900 (JST)
Subject: [ruby-changes:32560] akr:r44639 (trunk): [DOC]
akr 2014-01-18 21:44:36 +0900 (Sat, 18 Jan 2014) New Revision: 44639 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44639 Log: [DOC] Modified files: trunk/ext/socket/option.c Index: ext/socket/option.c =================================================================== --- ext/socket/option.c (revision 44638) +++ ext/socket/option.c (revision 44639) @@ -148,8 +148,6 @@ sockopt_data(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/socket/option.c#L148 * * Creates a new Socket::Option object which contains a byte as data. * - * The size and endian is dependent on the platform. - * * p Socket::Option.byte(:INET, :SOCKET, :KEEPALIVE, 1) * #=> #<Socket::Option: INET SOCKET KEEPALIVE 1> */ @@ -169,8 +167,6 @@ sockopt_s_byte(VALUE klass, VALUE vfamil https://github.com/ruby/ruby/blob/trunk/ext/socket/option.c#L167 * * Returns the data in _sockopt_ as an byte. * - * The size and endian is dependent on the platform. - * * sockopt = Socket::Option.byte(:INET, :SOCKET, :KEEPALIVE, 1) * p sockopt.byte => 1 */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/