Class: Mutant::Runner
- Inherits:
-
Object
- Object
- Mutant::Runner
- Extended by:
- MethodObject
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/runner.rb
Overview
Runner that allows to mutate an entire project
Instance Attribute Summary collapse
-
#config ⇒ Mutant::Config
readonly
private
Return config.
-
#errors ⇒ Enumerable<Killer>
readonly
private
Return killers with errors.
Instance Method Summary collapse
-
#fail? ⇒ true, false
private
Test for failure.
Methods included from MethodObject
Instance Attribute Details
#config ⇒ Mutant::Config (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return config
35 36 37 |
# File 'lib/mutant/runner.rb', line 35 def config @config end |
#errors ⇒ Enumerable<Killer> (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return killers with errors
13 14 15 |
# File 'lib/mutant/runner.rb', line 13 def errors @errors end |
Instance Method Details
#fail? ⇒ true, false
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test for failure
25 26 27 |
# File 'lib/mutant/runner.rb', line 25 def fail? !errors.empty? end |