Class: Toft::CommandResult
- Inherits:
-
Object
- Object
- Toft::CommandResult
- Defined in:
- lib/toft/node.rb
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(stdout, stderr) ⇒ CommandResult
constructor
A new instance of CommandResult.
Constructor Details
#initialize(stdout, stderr) ⇒ CommandResult
Returns a new instance of CommandResult.
228 229 230 231 |
# File 'lib/toft/node.rb', line 228 def initialize(stdout, stderr) @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
226 227 228 |
# File 'lib/toft/node.rb', line 226 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
226 227 228 |
# File 'lib/toft/node.rb', line 226 def stdout @stdout end |