class RuboCop::Cop::HashAlignment::SeparatorAlignment

Handles calculation of deltas when the enforced style is ‘separator’.

def deltas_for_first_pair(*_nodes)

def deltas_for_first_pair(*_nodes)
  {}
end

def hash_rocket_delta(first_pair, current_pair)

def hash_rocket_delta(first_pair, current_pair)
  first_pair.delimiter_delta(current_pair)
end

def key_delta(first_pair, current_pair)

def key_delta(first_pair, current_pair)
  first_pair.key_delta(current_pair, :right)
end

def value_delta(first_pair, current_pair)

def value_delta(first_pair, current_pair)
  first_pair.value_delta(current_pair)
end