Class: Buildbox::Build
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Buildbox::Build
- Defined in:
- lib/buildbox/build.rb
Instance Method Summary collapse
Instance Method Details
#finished? ⇒ Boolean
14 15 16 |
# File 'lib/buildbox/build.rb', line 14 def finished? exit_status != nil end |
#started? ⇒ Boolean
10 11 12 |
# File 'lib/buildbox/build.rb', line 10 def started? output.kind_of?(String) && output.length > 0 end |
#success? ⇒ Boolean
6 7 8 |
# File 'lib/buildbox/build.rb', line 6 def success? exit_status == 0 end |