Class: Fog::SSH::Result
- Inherits:
-
Object
- Object
- Fog::SSH::Result
- Defined in:
- lib/fog/ssh.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#status ⇒ Object
Returns the value of attribute status.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(command) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(command) ⇒ Result
Returns a new instance of Result.
99 100 101 102 103 |
# File 'lib/fog/ssh.rb', line 99 def initialize(command) @command = command @stderr = '' @stdout = '' end |
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
97 98 99 |
# File 'lib/fog/ssh.rb', line 97 def command @command end |
#status ⇒ Object
Returns the value of attribute status.
97 98 99 |
# File 'lib/fog/ssh.rb', line 97 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
97 98 99 |
# File 'lib/fog/ssh.rb', line 97 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
97 98 99 |
# File 'lib/fog/ssh.rb', line 97 def stdout @stdout end |