From 0e0c793e2e91ba4c354e6ad0e72cba921240284a Mon Sep 17 00:00:00 2001 From: nagachika Date: Tue, 29 Mar 2016 20:13:52 +0000 Subject: 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 --- lib/uri/http.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/uri') 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 -- cgit v1.2.3