Class: Devup::Shell::Result
- Inherits:
-
Struct
- Object
- Struct
- Devup::Shell::Result
- Defined in:
- lib/devup/shell.rb
Overview
TODO maybe it should become somthing like ExecutedShellCommand ?
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
13 14 15 |
# File 'lib/devup/shell.rb', line 13 def data @data end |
#status ⇒ Object
Returns the value of attribute status
13 14 15 |
# File 'lib/devup/shell.rb', line 13 def status @status end |
Instance Method Details
#success? ⇒ Boolean
14 15 16 |
# File 'lib/devup/shell.rb', line 14 def success? status end |