Class: Mutant::Matcher::Filter Private
- Inherits:
-
Mutant::Matcher
- Object
- Mutant::Matcher
- Mutant::Matcher::Filter
- Defined in:
- lib/mutant/matcher/filter.rb
Overview
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.
Matcher filter
Instance Method Summary collapse
-
#call(env) ⇒ Enumerable<Subject>
private
Enumerate matches.
Methods inherited from Mutant::Matcher
Instance Method Details
#call(env) ⇒ Enumerable<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 matches
14 15 16 |
# File 'lib/mutant/matcher/filter.rb', line 14 def call(env) matcher.call(env).select(&predicate) end |