Class: CiInACan::BashResult
- Inherits:
-
Object
- Object
- CiInACan::BashResult
- Defined in:
- lib/ci_in_a_can/bash_result.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
Returns the value of attribute exit_code.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
Instance Attribute Details
#exit_code ⇒ Object
Returns the value of attribute exit_code.
7 8 9 |
# File 'lib/ci_in_a_can/bash_result.rb', line 7 def exit_code @exit_code end |
#output ⇒ Object
Returns the value of attribute output.
7 8 9 |
# File 'lib/ci_in_a_can/bash_result.rb', line 7 def output @output end |
Instance Method Details
#successful ⇒ Object
9 10 11 |
# File 'lib/ci_in_a_can/bash_result.rb', line 9 def successful exit_code == 0 end |