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
commit268da523471408911c2cac872c0d96afe01250f6 (patch)
tree4ce442726b0421f9260928684fd23bcdbb4bae62 /lib/net
parentcc52f511b1d942f8542a4d909ce0a1375ea07738 (diff)
downloadruby-268da523471408911c2cac872c0d96afe01250f6.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)