diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-26 06:11:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-26 06:11:23 +0000 |
commit | 3d79a8ada43c70f3f714a43aee31bc1200f4e653 (patch) | |
tree | eb94197597c05bf227a627a9467dc2ea3c14a661 /ext/socket/basicsocket.c | |
parent | 01aba3536a9c6bf5944541fa6098b83ef140ba9c (diff) | |
download | ruby-3d79a8ada43c70f3f714a43aee31bc1200f4e653.tar.gz |
[DOC] replace Fixnum with Integer [ci skip]
* numeric.c: [DOC] update document for Integer class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/basicsocket.c')
-rw-r--r-- | ext/socket/basicsocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/basicsocket.c b/ext/socket/basicsocket.c index ee967c7b7a..264b882500 100644 --- a/ext/socket/basicsocket.c +++ b/ext/socket/basicsocket.c @@ -158,10 +158,10 @@ bsock_close_write(VALUE sock) * * +optval+ is the value of the option, it is passed to the underlying * setsockopt() as a pointer to a certain number of bytes. How this is * done depends on the type: - * - Fixnum: value is assigned to an int, and a pointer to the int is + * - Integer: value is assigned to an int, and a pointer to the int is * passed, with length of sizeof(int). * - true or false: 1 or 0 (respectively) is assigned to an int, and the - * int is passed as for a Fixnum. Note that +false+ must be passed, + * int is passed as for an Integer. Note that +false+ must be passed, * not +nil+. * - String: the string's data and length is passed to the socket. * * +socketoption+ is an instance of Socket::Option |