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.
45 46 47 48 49 |
# File 'lib/sumodev/command.rb', line 45 def initialize(out, error, status) @out = out @error = error @status = status end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
43 44 45 |
# File 'lib/sumodev/command.rb', line 43 def error @error end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
43 44 45 |
# File 'lib/sumodev/command.rb', line 43 def out @out end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
43 44 45 |
# File 'lib/sumodev/command.rb', line 43 def status @status end |