summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-22 04:58:42 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-22 04:58:42 +0000
commitee54fbd644e8518eb8c1a16626f9d5744f9a5e1c (patch)
treef9cf4eac6b1e50295976f64ce7fee5b11ad330ca /lib
parent9fd68c53cac5fb00dc7cf4268f6db864ef813484 (diff)
* lib/net/http.rb: Net::HTTP#finish is used to manually close
connections. [Ruby 1.9 - Bug #5045] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 f89858836f..7c9032aaa6 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -108,7 +108,7 @@ module Net #:nodoc:
# If you wish to re-use a connection across multiple HTTP requests without
# automatically closing it you can use ::new instead of ::start. #request
# will automatically open a connection to the server if one is not currently
- # open. You can manually close the connection with #close.
+ # open. You can manually close the connection with #finish.
#
# === Response Data
#