Class: Mutant::Mutation::Evil
- Inherits:
-
Mutant::Mutation
- Object
- Mutant::Mutation
- Mutant::Mutation::Evil
- Defined in:
- lib/mutant/mutation/evil.rb
Overview
Evul mutation
Constant Summary collapse
- SHOULD_FAIL =
true
- SYMBOL =
'evil'.freeze
Constants inherited from Mutant::Mutation
Instance Method Summary collapse
-
#success?(killer) ⇒ Boolean
private
Test if killer is successful.
Methods inherited from Mutant::Mutation
#code, #identification, #insert, #original_source, #root, #should_fail?, #source
Instance Method Details
#success?(killer) ⇒ Boolean
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 if killer is successful
17 18 19 |
# File 'lib/mutant/mutation/evil.rb', line 17 def success?(killer) killer.killed? end |