Class: Mutant::Config
- Inherits:
-
Object
- Object
- Mutant::Config
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/config.rb
Overview
The configuration of a mutator run
Instance Method Summary collapse
-
#subjects(&block) ⇒ self, Enumerator<Subject>
private
Enumerate subjects.
Instance Method Details
#subjects(&block) ⇒ self, Enumerator<Subject>
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.
Enumerate subjects
29 30 31 32 33 |
# File 'lib/mutant/config.rb', line 29 def subjects(&block) return to_enum(__method__) unless block_given? Matcher::Filter.new(matcher, subject_predicate).each(&block) self end |