Class: FeduxOrgStdlib::Command::CommandResult
- Inherits:
-
Object
- Object
- FeduxOrgStdlib::Command::CommandResult
- Defined in:
- lib/fedux_org_stdlib/command/command_result.rb
Overview
Result of command execution
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.
8 9 10 11 |
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 8 def initialize @stderr = '' @stdout = '' end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 6 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
6 7 8 |
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 6 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
6 7 8 |
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 6 def stdout @stdout end |