class RuboCop::Cop::Style::MethodDefParentheses
def missing_parentheses(node)
def missing_parentheses(node) location = node.arguments.source_range add_offense(node, location: location, message: MSG_MISSING) do unexpected_style_detected(:require_no_parentheses) end end