зеркало из https://github.com/github/ruby.git
* lib/net/ftp.rb (noop): new method.
* lib/net/ftp.rb (site): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ec16af8173
Коммит
a5fd4cec84
|
@ -1,3 +1,9 @@
|
|||
Tue Jun 11 13:18:47 2002 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/ftp.rb (noop): new method.
|
||||
|
||||
* lib/net/ftp.rb (site): ditto.
|
||||
|
||||
Tue Jun 11 13:15:41 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
|
||||
|
|
|
@ -563,6 +563,15 @@ module Net
|
|||
def quit
|
||||
voidcmd("QUIT")
|
||||
end
|
||||
|
||||
def noop
|
||||
voidcmd("NOOP")
|
||||
end
|
||||
|
||||
def site(arg)
|
||||
cmd = "SITE " + arg
|
||||
voidcmd(cmd)
|
||||
end
|
||||
|
||||
def close
|
||||
@sock.close if @sock and not @sock.closed?
|
||||
|
|
Загрузка…
Ссылка в новой задаче