free_mutant/lib/mutant/strategy/rspec.rb
Markus Schirp d358324450 Instantiate strategies
Doing that stuff on singletons is wired. Future strategies will have a
state.
2013-07-17 19:59:44 +02:00

21 lines
345 B
Ruby

module Mutant
class Strategy
# Rspec killer strategy
class Rspec < self
include Equalizer.new
KILLER = Killer::Forking.new(Killer::Rspec)
# Setup rspec strategy
#
# @return [self]
#
# @api private
#
def setup
self
end
end # Rspec
end # Strategy
end # Mutant