Class: Remote::Session::SendString
- Defined in:
- lib/remote/session/send_string.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
Returns the value of attribute string.
Attributes inherited from Send
Instance Method Summary collapse
-
#initialize(string, remote_path) ⇒ SendString
constructor
A new instance of SendString.
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
#string ⇒ Object
Returns the value of attribute string.
9 10 11 |
# File 'lib/remote/session/send_string.rb', line 9 def string @string end |