free_mutant/lib/mutant/runner/config.rb
Markus Schirp c7fae6dd07 Introduce Mutant::Config objects
This will ease deve
2013-02-24 20:43:15 +01:00

24 lines
389 B
Ruby

module Mutant
class Runner
# Runner for config
class Config < self
# Return subject runners
#
# @return [Enumerable<Runner::Subject>]
#
# @api private
#
attr_reader :subjects
private
def run
@subjects = config.subjects.map do |subject|
Subject.run(config, subject)
end
end
end
end
end