summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-12 05:27:20 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-12 05:27:20 +0000
commit9b3f70d1ed391a1527264b144100db084e36e823 (patch)
tree251d2b027a9af9b28fdc2fc6c066e879fb0d36b5 /lib
parent58f77932a45873d691d9dab1f042da45822bd991 (diff)
merge revision(s) 54257: [Backport #12215]
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example, missing mandatory arguments. [ruby-core:74540] [Bug #12215] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/uri/http.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/uri/http.rb b/lib/uri/http.rb
index d43e9a28e0..81ae846fd9 100644
--- a/lib/uri/http.rb
+++ b/lib/uri/http.rb
@@ -63,6 +63,7 @@ module URI
return super(tmp)
end
+=begin
#
# == Description
#
@@ -75,8 +76,8 @@ module URI
#
# Example:
#
- # uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path",
- # "query", 'fragment')
+ # uri = URI::HTTP.new("http", nil, "www.example.com", nil, nil,
+ # "/path", nil, "query", "fragment")
#
#
# See also URI::Generic.new
@@ -84,6 +85,7 @@ module URI
def initialize(*arg)
super(*arg)
end
+=end
#
# == Description