Class: Mutant::Matcher::Method::Evaluator
- Inherits:
-
Object
- Object
- Mutant::Matcher::Method::Evaluator
- Includes:
- AbstractType, Adamantium, AST::NodePredicates
- Defined in:
- lib/mutant/matcher/method.rb
Overview
Abstract method match evaluator
Present to avoid passing the env argument around in case the logic would be implemnented directly on the Matcher::Method instance
Direct Known Subclasses
Instance Method Summary collapse
-
#call ⇒ Enumerable<Subject>
private
Matched subjects.
Instance Method Details
#call ⇒ 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.
Matched subjects
47 48 49 50 51 |
# File 'lib/mutant/matcher/method.rb', line 47 def call return EMPTY_ARRAY if skip? [subject].compact end |