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:


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

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

Instance Method Details

#closeObject


1072
1073
# File 'lib/net/ftp.rb', line 1072

def close
end

#read_timeout=(sec) ⇒ Object


1069
1070
# File 'lib/net/ftp.rb', line 1069

def read_timeout=(sec)
end