Class: Performa::CommandResult
- Inherits:
-
String
- Object
- String
- Performa::CommandResult
- Defined in:
- lib/performa/command_result.rb
Instance Attribute Summary collapse
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#success ⇒ Object
Returns the value of attribute success.
5 6 7 |
# File 'lib/performa/command_result.rb', line 5 def success @success end |
Instance Method Details
#failure? ⇒ Boolean
11 12 13 |
# File 'lib/performa/command_result.rb', line 11 def failure? !@success end |
#success? ⇒ Boolean
7 8 9 |
# File 'lib/performa/command_result.rb', line 7 def success? @success end |