Method: Mutant::Expression::Methods#matcher

Defined in:
lib/mutant/expression/methods.rb

#matcherMatcher::Method

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.

Matcher on expression

Returns:



34
35
36
# File 'lib/mutant/expression/methods.rb', line 34

def matcher
  MATCHERS.fetch(scope_symbol).new(scope)
end