summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 20:08:43 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-19 20:08:43 +0000
commitc3cd615aa4a2e52d8943df72a9a55d2607792fe9 (patch)
treea75294185faac7602090f81c0f4d23b5073479e3 /lib
parente34137b5cbe49ce082c5231097a46a99df02ed5f (diff)
* lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb
and telnet.rb. It has been quite some time sinc they were obsoleted and made to emit warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/README2
-rw-r--r--lib/ftplib.rb14
-rw-r--r--lib/telnet.rb9
3 files changed, 0 insertions, 25 deletions
diff --git a/lib/README b/lib/README
index 41c1809136..76a1104c0d 100644
--- a/lib/README
+++ b/lib/README
@@ -19,7 +19,6 @@ finalize.rb adds finalizer to the object
find.rb traverses directory tree
forwardable.rb explicit delegation library
ftools.rb file tools
-ftplib.rb obsolete - use net/ftp
getoptlong.rb GNU getoptlong compatible
getopts.rb parses command line options (use getoptlong)
importenv.rb imports environment variables as global variables
@@ -58,7 +57,6 @@ shell.rb runs commands and does pipeline operations like shell
shellwords.rb split into words like shell
singleton.rb singleton design pattern library
sync.rb 2 phase lock
-telnet.rb obsolete - use net/telnet
tempfile.rb temporary file with automatic removal
time.rb RFC2822, RFC2616, ISO8601 style time formatting/parsing
thread.rb thread support
diff --git a/lib/ftplib.rb b/lib/ftplib.rb
deleted file mode 100644
index 4cb1b752d6..0000000000
--- a/lib/ftplib.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# ftplib.rb
-#
-
-$stderr.puts 'Warning: ftplib.rb is obsolete: use net/ftp'
-
-require 'net/ftp'
-
-FTP = ::Net::FTP
-FTPError = ::Net::FTPError
-FTPReplyError = ::Net::FTPReplyError
-FTPTempError = ::Net::FTPTempError
-FTPPermError = ::Net::FTPPermError
-FTPProtoError = ::Net::FTPProtoError
diff --git a/lib/telnet.rb b/lib/telnet.rb
deleted file mode 100644
index b861ffa783..0000000000
--- a/lib/telnet.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# telnet.rb
-#
-
-$stderr.puts 'Warning: telnet.rb is obsolete: use net/telnet'
-
-require 'net/telnet'
-
-Telnet = ::Net::Telnet