class RuboCop::Cop::Naming::VariableNumber

def on_def(node)

def on_def(node)
  @node = node
  return if allowed_identifier?(node.method_name)
  check_name(node, node.method_name, node.loc.name) if cop_config['CheckMethodNames']
end