Class: Remote::Session::SendFile

Inherits:
Send
  • Object
show all
Defined in:
lib/remote/session/send_file.rb

Instance Attribute Summary collapse

Attributes inherited from Send

#chunk_size, #remote_path

Instance Method Summary collapse

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_pathObject

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