Class: Cerberus::Builder::Rake
- Defined in:
- lib/cerberus/builder/rake.rb
Instance Attribute Summary
Attributes inherited from RubyBase
Instance Method Summary collapse
-
#initialize(config) ⇒ Rake
constructor
A new instance of Rake.
- #successful? ⇒ Boolean
Methods inherited from RubyBase
Constructor Details
#initialize(config) ⇒ Rake
Returns a new instance of Rake.
4 5 6 |
# File 'lib/cerberus/builder/rake.rb', line 4 def initialize(config) super(config, "rake") end |
Instance Method Details
#successful? ⇒ Boolean
8 9 10 |
# File 'lib/cerberus/builder/rake.rb', line 8 def successful? $?.exitstatus == 0 and not @output.include?("#{@cmd} aborted!") end |