summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-11 06:12:40 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-11 06:12:40 +0000
commit21f6916b98a3b9d537607d0334217689e1430f16 (patch)
treeef773c9c73d354e7de618c65954c461c64702d8b /lib
parentf7b3d2be571a634d13f742f411219685d08900d6 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/uri/http.rb24
1 files changed, 0 insertions, 24 deletions
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
#