1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
hsbt 2013-05-12 01:44:06 +00:00
parent 8f88edf0f9
commit b9a34fd717

View file

@ -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|