diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-02 03:18:40 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-02 03:18:40 +0000 |
commit | a60a562ca782b9ceb81f6ef2297521d9479cac2b (patch) | |
tree | 04cde6bb29b82d72a367d17b56c508042c1c1979 /lib | |
parent | 8b54e050f92311017bc42508636237fecde5cf84 (diff) |
* 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/ftp.rb | 11 |
1 files changed, 3 insertions, 8 deletions
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, |