class RuboCop::Cop::Lint::UnusedMethodArgument

def check_argument(variable)

def check_argument(variable)
  return unless variable.method_argument?
  return if variable.keyword_argument? && cop_config['AllowUnusedKeywordArguments']
  return if ignored_method?(variable.scope.node.body)
  super
end