From a60a562ca782b9ceb81f6ef2297521d9479cac2b Mon Sep 17 00:00:00 2001 From: mame Date: Sat, 2 Feb 2013 03:18:40 +0000 Subject: * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not well tested yet. [Bug #7301] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/ftp.rb | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'lib/uri/ftp.rb') diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb index 971684a545..db3da6d2c8 100644 --- a/lib/uri/ftp.rb +++ b/lib/uri/ftp.rb @@ -45,16 +45,11 @@ module URI # ';type=' TYPECODE_PREFIX = ';type='.freeze - # alternate initialization - # Creates a new URI::FTP object. - # - # Unlike build(), this method does not escape the path component as - # required by RFC1738; instead it is treated as per RFC2396. - # - # Arguments are user, password, host, port, path, typecode, - # and arg_check, in that order. def self.new2(user, password, host, port, path, typecode = nil, arg_check = true) + # Do not use this method! Not tested. [Bug #7301] + # This methods remains just for compatibility, + # Keep it undocumented until the active maintainer is assigned. typecode = nil if typecode.size == 0 if typecode && !TYPECODE.include?(typecode) raise ArgumentError, -- cgit v1.2.3