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:



1458
1459
1460
# File 'lib/net/ftp.rb', line 1458

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

Instance Method Details

#closeObject



1455
1456
# File 'lib/net/ftp.rb', line 1455

def close
end

#closed?Boolean

Returns:

  • (Boolean)


1451
1452
1453
# File 'lib/net/ftp.rb', line 1451

def closed?
  true
end

#read_timeout=(sec) ⇒ Object



1448
1449
# File 'lib/net/ftp.rb', line 1448

def read_timeout=(sec)
end