Class: Remote::Session::SendFile
- Defined in:
- lib/remote/session/send_file.rb
Instance Attribute Summary collapse
-
#local_path ⇒ Object
Returns the value of attribute local_path.
Attributes inherited from Send
Instance Method Summary collapse
-
#initialize(local_path, remote_path) ⇒ SendFile
constructor
A new instance of SendFile.
Methods inherited from Send
#close, #eof?, #open, #open?, #read
Constructor Details
#initialize(local_path, remote_path) ⇒ SendFile
Returns a new instance of SendFile.
9 10 11 12 |
# File 'lib/remote/session/send_file.rb', line 9 def initialize( local_path, remote_path ) @local_path = local_path super( remote_path ) end |
Instance Attribute Details
#local_path ⇒ Object
Returns the value of attribute local_path.
7 8 9 |
# File 'lib/remote/session/send_file.rb', line 7 def local_path @local_path end |