Class: SFML::Network::Ftp::DirectoryResponse
- Inherits:
-
Object
- Object
- SFML::Network::Ftp::DirectoryResponse
- Defined in:
- lib/sfml/network/ftp.rb
Overview
Returned by working_directory and create_directory — adds the ‘#directory` accessor on top of Response.
Instance Attribute Summary collapse
-
#handle ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
Instance Attribute Details
#handle ⇒ Object (readonly)
:nodoc:
150 151 152 |
# File 'lib/sfml/network/ftp.rb', line 150 def handle @handle end |
Instance Method Details
#directory ⇒ Object
149 |
# File 'lib/sfml/network/ftp.rb', line 149 def directory = C::Network.sfFtpDirectoryResponse_getDirectory(@handle).to_s |
#message ⇒ Object
148 |
# File 'lib/sfml/network/ftp.rb', line 148 def = C::Network.sfFtpDirectoryResponse_getMessage(@handle).to_s |
#ok? ⇒ Boolean
145 |
# File 'lib/sfml/network/ftp.rb', line 145 def ok? = C::Network.sfFtpDirectoryResponse_isOk(@handle) |
#status ⇒ Object
146 |
# File 'lib/sfml/network/ftp.rb', line 146 def status = C::Network.sfFtpDirectoryResponse_getStatus(@handle) |
#status_symbol ⇒ Object
147 |
# File 'lib/sfml/network/ftp.rb', line 147 def status_symbol = STATUS_NAMES[status] || status |