free_mutant/lib/mutant/runner/subject.rb
Markus Schirp 2b6470f223 Add Mutant::Runner::Subject
The idea is to break up the big fat and ugly Runner class into dedicated
pices with a single reponsibility.
2013-02-01 23:06:07 +01:00

41 lines
670 B
Ruby

module Mutant
class Runner
# Subject specific runner
class Subject < self
# Return mutation runners
#
# @return [Enumerable<Runner::Mutation>]
#
# @api private
#
attr_reader :mutations
# Initialize object
#
# @param [Configuration] config
# @param [Subject] subject
#
# @return [undefined]
#
# @api private
#
def initialize(config, subject)
@subject = subject
super(config)
end
private
# Perform operation
#
# @return [undefined]
#
# @api private
#
def run
end
end
end
end