summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-04 02:53:16 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-04 02:53:16 +0000
commitfa7e514642de951cfe85e36ff65af669a7f482e1 (patch)
tree69aaac3fa4b83331bec1c5b7089755204652c888 /lib
parent60c90330c88e7a2da085e65fe441273bbfa7808e (diff)
Fixing example in comments that raised an error by @JackDanger [fix GH-345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41766 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 973998fdc3..5d17ae26af 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -671,7 +671,7 @@ module Net #:nodoc:
#
# Sets an output stream for debugging.
#
- # http = Net::HTTP.new
+ # http = Net::HTTP.new(hostname)
# http.set_debug_output $stderr
# http.start { .... }
#