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:



1481
1482
1483
# File 'lib/net/ftp.rb', line 1481

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

Instance Method Details

#closeObject



1478
1479
# File 'lib/net/ftp.rb', line 1478

def close
end

#closed?Boolean

Returns:

  • (Boolean)


1474
1475
1476
# File 'lib/net/ftp.rb', line 1474

def closed?
  true
end

#read_timeout=(sec) ⇒ Object



1471
1472
# File 'lib/net/ftp.rb', line 1471

def read_timeout=(sec)
end