Class: Net::FTP::NullSocket
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/net/ftp.rb |
Instance Attribute Summary
- #closed? ⇒ Boolean readonly
- #read_timeout=(sec) writeonly
Instance Method Summary
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(mid, *args)
# File 'lib/net/ftp.rb', line 1483
def method_missing(mid, *args) raise FTPConnectionError, "not connected" end
Instance Attribute Details
#closed? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/net/ftp.rb', line 1476
def closed? true end
#read_timeout=(sec) (writeonly)
[ GitHub ]# File 'lib/net/ftp.rb', line 1473
def read_timeout=(sec) end
Instance Method Details
#close
[ GitHub ]# File 'lib/net/ftp.rb', line 1480
def close end