mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
ec16af8173
commit
a5fd4cec84
2 changed files with 15 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue