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:



1280
1281
1282
# File 'lib/net/ftp.rb', line 1280

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

Instance Method Details

#closeObject



1277
1278
# File 'lib/net/ftp.rb', line 1277

def close
end

#closed?Boolean

Returns:

  • (Boolean)


1273
1274
1275
# File 'lib/net/ftp.rb', line 1273

def closed?
  true
end

#read_timeout=(sec) ⇒ Object



1270
1271
# File 'lib/net/ftp.rb', line 1270

def read_timeout=(sec)
end