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:



1504
1505
1506
# File 'lib/net/ftp.rb', line 1504

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

Instance Method Details

#closeObject



1501
1502
# File 'lib/net/ftp.rb', line 1501

def close
end

#closed?Boolean

Returns:

  • (Boolean)


1497
1498
1499
# File 'lib/net/ftp.rb', line 1497

def closed?
  true
end

#read_timeout=(sec) ⇒ Object



1494
1495
# File 'lib/net/ftp.rb', line 1494

def read_timeout=(sec)
end