class RuboCop::Cop::Layout::DotPosition
def selector_range(node)
def selector_range(node) return node unless node.call_type? # l.(1) has no selector, so we use the opening parenthesis instead node.loc.selector || node.loc.begin end
def selector_range(node) return node unless node.call_type? # l.(1) has no selector, so we use the opening parenthesis instead node.loc.selector || node.loc.begin end