aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-21 01:24:12 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-21 01:24:12 +0000
commitc314e44ffaeab9c90c2f62d4bb14a7a8b8559c16 (patch)
tree4ce442726b0421f9260928684fd23bcdbb4bae62 /lib/net
parent01c77036bbec818a5c9ec195f83a2dc27a732e06 (diff)
downloadruby-c314e44ffaeab9c90c2f62d4bb14a7a8b8559c16.tar.gz
lib/net/http.rb (open_timeout): update default value in RDoc [ci skip]
[ruby-core:72413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index eb08edf0f7..8149215a1c 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -702,7 +702,7 @@ module Net #:nodoc:
# Number of seconds to wait for the connection to open. Any number
# may be used, including Floats for fractional seconds. If the HTTP
# object cannot open a connection in this many seconds, it raises a
- # Net::OpenTimeout exception. The default value is +nil+.
+ # Net::OpenTimeout exception. The default value is 60 seconds.
attr_accessor :open_timeout
# Number of seconds to wait for one block to be read (via one read(2)