From 21f6916b98a3b9d537607d0334217689e1430f16 Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 11 Sep 2017 06:12:40 +0000 Subject: Remove commented out code of URI::HTTP.new. [Misc #13871][ruby-core:82655] Patch by @aycabta git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/http.rb | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'lib/uri/http.rb') diff --git a/lib/uri/http.rb b/lib/uri/http.rb index d4373e73e5..0af1858efe 100644 --- a/lib/uri/http.rb +++ b/lib/uri/http.rb @@ -62,30 +62,6 @@ module URI super(tmp) end -=begin - # - # == Description - # - # Create a new URI::HTTP object from generic URI components as per - # RFC 2396. No HTTP-specific syntax checking (as per RFC 1738) is - # performed. - # - # Arguments are +scheme+, +userinfo+, +host+, +port+, +registry+, +path+, - # +opaque+, +query+ and +fragment+, in that order. - # - # Example: - # - # uri = URI::HTTP.new("http", nil, "www.example.com", nil, nil, - # "/path", nil, "query", "fragment") - # - # - # See also URI::Generic.new - # - def initialize(*arg) - super(*arg) - end -=end - # # == Description # -- cgit v1.2.3