class RuboCop::Cop::Layout::SpaceAroundOperators
def excess_leading_space?(type, operator, with_space)
def excess_leading_space?(type, operator, with_space) return false unless allow_for_alignment? return false unless with_space.source.start_with?(EXCESSIVE_SPACE) return !aligned_with_operator?(operator) unless type == :assignment token = Token.new(operator, nil, operator.source) align_preceding = aligned_with_preceding_assignment(token) return false if align_preceding == :yes || aligned_with_subsequent_assignment(token) == :none aligned_with_subsequent_assignment(token) != :yes end