Class: Mutant::Matcher::Filter Private

Inherits:
Mutant::Matcher show all
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

API:

  • private

Instance Method Summary collapse

Methods inherited from Mutant::Matcher

expand

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

Parameters:

Returns:

API:

  • private



14
15
16
# File 'lib/mutant/matcher/filter.rb', line 14

def call(env)
  matcher.call(env).select(&predicate)
end