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