Class: Net::FTP::NullSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/net/ftp.rb

Overview

:stopdoc:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(mid, *args) ⇒ Object

Raises:



1081
1082
1083
# File 'lib/net/ftp.rb', line 1081

def method_missing(mid, *args)
  raise FTPConnectionError, "not connected"
end

Instance Method Details

#closeObject



1078
1079
# File 'lib/net/ftp.rb', line 1078

def close
end

#read_timeout=(sec) ⇒ Object



1075
1076
# File 'lib/net/ftp.rb', line 1075

def read_timeout=(sec)
end