diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 20:13:52 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 20:13:52 +0000 |
commit | 0e0c793e2e91ba4c354e6ad0e72cba921240284a (patch) | |
tree | 7fe553da2c1277fe615199492faf2f0916e4c7b5 /lib | |
parent | 82752cc1ce2129c9d44515f40739a27b88218f0d (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_2@54427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/http.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/uri/http.rb b/lib/uri/http.rb index dc47613cdf..56d29f3432 100644 --- a/lib/uri/http.rb +++ b/lib/uri/http.rb @@ -62,6 +62,7 @@ module URI return super(tmp) end +=begin # # == Description # @@ -74,8 +75,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 @@ -83,6 +84,7 @@ module URI def initialize(*arg) super(*arg) end +=end # # == Description |