mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
57b2190d55
commit
7efaa4f5d0
1 changed files with 0 additions and 4 deletions
|
@ -148,8 +148,6 @@ sockopt_data(VALUE self)
|
|||
*
|
||||
* 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 vfamily, VALUE vlevel, VALUE voptname, VALUE v
|
|||
*
|
||||
* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue