Class: Mutant::Killer::Forked

Inherits:
Mutant::Killer show all
Defined in:
lib/mutant/killer/forked.rb

Overview

Killer that executes other killer in forked environment

Instance Attribute Summary

Attributes inherited from Mutant::Killer

#mutation, #strategy

Instance Method Summary collapse

Methods inherited from Mutant::Killer

#killed?, #mutation_source, #success?

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

Parameters:



17
18
19
20
# File 'lib/mutant/killer/forked.rb', line 17

def initialize(killer, strategy, mutation)
  @killer = killer
  super(strategy, mutation)
end