Class: CommandOutput
- Inherits:
-
Object
- Object
- CommandOutput
- Defined in:
- lib/sumodev/command.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(out, error, status) ⇒ CommandOutput
constructor
A new instance of CommandOutput.
Constructor Details
#initialize(out, error, status) ⇒ CommandOutput
Returns a new instance of CommandOutput.
48 49 50 51 52 |
# File 'lib/sumodev/command.rb', line 48 def initialize(out, error, status) @out = out @error = error @status = status end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
46 47 48 |
# File 'lib/sumodev/command.rb', line 46 def error @error end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
46 47 48 |
# File 'lib/sumodev/command.rb', line 46 def out @out end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
46 47 48 |
# File 'lib/sumodev/command.rb', line 46 def status @status end |