Class: Remote::Session::SendString

Inherits:
Send
  • Object
show all
Defined in:
lib/remote/session/send_string.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(string, remote_path) ⇒ SendString

Returns a new instance of SendString.



11
12
13
14
# File 'lib/remote/session/send_string.rb', line 11

def initialize( string, remote_path )
  @string = string
  super( remote_path )
end

Instance Attribute Details

#stringObject

Returns the value of attribute string.



9
10
11
# File 'lib/remote/session/send_string.rb', line 9

def string
  @string
end