From b9a34fd717d1e23ddb2f53cf52e1a655fd917591 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 12 May 2013 01:44:06 +0000 Subject: 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 --- ext/socket/lib/socket.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/socket/lib') 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| -- cgit v1.2.3