Class: Mutant::Killer::Forked
- Inherits:
-
Mutant::Killer
- Object
- Mutant::Killer
- Mutant::Killer::Forked
- Defined in:
- lib/mutant/killer/forking.rb
Overview
Killer that executes other killer in forked environment
Instance Attribute Summary
Attributes inherited from Mutant::Killer
#mutation, #runtime, #strategy
Instance Method Summary collapse
-
#initialize(killer, strategy, mutation) ⇒ Forked
constructor
private
Initialize object.
-
#type ⇒ String
private
Return killer type.
Methods inherited from Mutant::Killer
#fail?, #identification, #mutation_source, #original_source, type
Constructor Details
#initialize(killer, strategy, mutation) ⇒ Forked
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.
Initialize object
15 16 17 18 |
# File 'lib/mutant/killer/forking.rb', line 15 def initialize(killer, strategy, mutation) @killer = killer super(strategy, mutation) end |
Instance Method Details
#type ⇒ String
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 killer type
26 27 28 |
# File 'lib/mutant/killer/forking.rb', line 26 def type @killer.type end |