Class: Mutant::Mutation::Config Private
- Inherits:
-
Object
- Object
- Mutant::Mutation::Config
- Defined in:
- lib/mutant/mutation/config.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- DEFAULT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
new( timeout: nil, ignore_patterns: [] )
- TRANSFORM =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Transform::Sequence.new( [ Transform::Hash.new( optional: [ Transform::Hash::Key.new('ignore_patterns', Transform::Array.new(ignore_pattern)), Transform::Hash::Key.new('timeout', Transform::FLOAT) ], required: [] ), Transform::Hash::Symbolize.new, Transform::Success.new(DEFAULT.method(:with)) ] )
Instance Method Summary collapse
- #merge(other) ⇒ Object private
Instance Method Details
#merge(other) ⇒ Object
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.
29 30 31 32 33 34 |
# File 'lib/mutant/mutation/config.rb', line 29 def merge(other) with( ignore_patterns: other.ignore_patterns, timeout: other.timeout || timeout ) end |