Class: Mutant::Matcher::Scope
- Inherits:
-
Mutant::Matcher
- Object
- Mutant::Matcher
- Mutant::Matcher::Scope
- Defined in:
- lib/mutant/matcher/scope.rb
Overview
Matcher for specific namespace
Constant Summary collapse
Instance Method Summary collapse
-
#each(&block) ⇒ self, Enumerator<Subject>
private
Enumerate subjects.
Methods inherited from Mutant::Matcher
Instance Method Details
#each(&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
24 25 26 27 28 29 30 31 32 |
# File 'lib/mutant/matcher/scope.rb', line 24 def each(&block) return to_enum unless block_given? MATCHERS.each do |matcher| matcher.each(cache, scope, &block) end self end |