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'] if cop_config['IgnoreEmptyMethods'] _name, _args, body = *variable.scope.node return if body.nil? end super end