free_mutant/lib/mutant/config.rb
Markus Schirp 8335cccafb Fix YARD summary line
* Reduce redunrant 'Return' prefix on summaries
* Improve summary line to reflect the semantics of operation better
2015-07-03 15:21:39 +00:00

27 lines
657 B
Ruby

module Mutant
# Standalone configuration of a mutant execution.
#
# Does not reference any "external" volatile state. The configuration applied
# to current environment is being represented by the Mutant::Env object.
class Config
include Adamantium::Flat, Anima::Update, Anima.new(
:debug,
:integration,
:matcher,
:includes,
:requires,
:reporter,
:isolation,
:fail_fast,
:jobs,
:zombie,
:expected_coverage,
:expression_parser
)
%i[fail_fast zombie debug].each do |name|
define_method(:"#{name}?") { public_send(name) }
end
end # Config
end # Mutant