module Metamorpher::Matcher::Matching

Public Instance Methods

match(other) click to toggle source
# File lib/metamorpher/matcher/matching.rb, line 8
def match(other)
  if other.nil?
    Matcher::NoMatch.new
  else
    accept MatchingVisitor.new(other)
  end
end