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:



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

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

Instance Method Details

#closeObject



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

def close
end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?
  true
end

#read_timeout=(sec) ⇒ Object



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

def read_timeout=(sec)
end