class RuboCop::AST::NodePattern

def match(*args, **rest)

def match(*args, **rest)
  # If we're here, it's because the singleton method has not been defined,
  # either because we've been dup'ed or serialized through YAML
  initialize(pattern)
  if rest.empty?
    match(*args)
  else
    match(*args, **rest)
  end
end