class RuboCop::Cop::Layout::DotPosition
def ampersand_dot?(node)
def ampersand_dot?(node) node.loc.respond_to?(:dot) && node.loc.dot && node.loc.dot.is?('&.') end
def ampersand_dot?(node) node.loc.respond_to?(:dot) && node.loc.dot && node.loc.dot.is?('&.') end