1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
mame 2013-02-02 03:18:40 +00:00
parent 8b54e050f9
commit a60a562ca7
2 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 2 12:15:36 2013 Yusuke Endoh <mame@tsg.ne.jp>
* lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not
well tested yet. [Bug #7301]
Sat Feb 2 12:07:41 2013 Yusuke Endoh <mame@tsg.ne.jp>
* ChangeLog: Forgot to add a reference to the ChangeLog of the

View file

@ -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,