[前][次][番号順一覧][スレッド一覧]

ruby-changes:47720

From: hsbt <ko1@a...>
Date: Mon, 11 Sep 2017 15:12:44 +0900 (JST)
Subject: [ruby-changes:47720] hsbt:r59836 (trunk): Remove commented out code of URI::HTTP.new.

hsbt	2017-09-11 15:12:40 +0900 (Mon, 11 Sep 2017)

  New Revision: 59836

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59836

  Log:
    Remove commented out code of URI::HTTP.new.
    
      [Misc #13871][ruby-core:82655] Patch by @aycabta

  Modified files:
    trunk/lib/uri/http.rb
Index: lib/uri/http.rb
===================================================================
--- lib/uri/http.rb	(revision 59835)
+++ lib/uri/http.rb	(revision 59836)
@@ -62,30 +62,6 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/http.rb#L62
       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
     #

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]