diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-12 01:44:06 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-12 01:44:06 +0000 |
commit | b9a34fd717d1e23ddb2f53cf52e1a655fd917591 (patch) | |
tree | a054c95b50de98f71756fa074e7507299e5fc149 /ext/socket | |
parent | 8f88edf0f926bc06921d713b25d31514c9d57fc8 (diff) | |
download | ruby-b9a34fd717d1e23ddb2f53cf52e1a655fd917591.tar.gz |
fixed wrong document for Socket.tcp by @lann [fix GH-302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/lib/socket.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index ec3263c3fd..07c9c4e6ba 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -288,11 +288,6 @@ class Socket < BasicSocket # The value of the block is returned. # The socket is closed when this method returns. # - # The optional last argument _opts_ is options represented by a hash. - # _opts_ may have following options: - # - # [:timeout] specify the timeout in seconds. - # # If no block is given, the socket is returned. # # Socket.tcp("www.ruby-lang.org", 80) {|sock| |