module Patme::PatternMatching::InstanceMethods

Public Instance Methods

method_missing(name, *args, &block) click to toggle source
Calls superclass method
# File lib/patme/pattern_matching.rb, line 27
def method_missing name, *args, &block
  method = self.class.patme_method(name)
  if method && method.implemented_for?(args)
    method.call(self, args)
  else
    super
  end
end