Class: BobTheHelper::Command::CommandResult
- Inherits:
-
Object
- Object
- BobTheHelper::Command::CommandResult
- Defined in:
- lib/bob_the_helper/command/command_result.rb
Instance Attribute Summary collapse
-
#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 ⇒ CommandResult
constructor
A new instance of CommandResult.
Constructor Details
#initialize ⇒ CommandResult
Returns a new instance of CommandResult.
6 7 8 9 |
# File 'lib/bob_the_helper/command/command_result.rb', line 6 def initialize @stderr = '' @stdout = '' end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/bob_the_helper/command/command_result.rb', line 4 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
4 5 6 |
# File 'lib/bob_the_helper/command/command_result.rb', line 4 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
4 5 6 |
# File 'lib/bob_the_helper/command/command_result.rb', line 4 def stdout @stdout end |