Class: Kicker::Status
- Inherits:
-
Struct
- Object
- Struct
- Kicker::Status
- Defined in:
- lib/kicker/utils.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#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
#command ⇒ Object
Returns the value of attribute command
4 5 6 |
# File 'lib/kicker/utils.rb', line 4 def command @command end |
#exit_code ⇒ Object
Returns the value of attribute exit_code
4 5 6 |
# File 'lib/kicker/utils.rb', line 4 def exit_code @exit_code end |
#output ⇒ Object
Returns the value of attribute output
4 5 6 |
# File 'lib/kicker/utils.rb', line 4 def output @output end |
Instance Method Details
#success? ⇒ Boolean
5 6 7 |
# File 'lib/kicker/utils.rb', line 5 def success? exit_code == 0 end |