class RuboCop::Cop::Style::HashSyntax

def on_hash(node)

def on_hash(node)
  pairs = node.pairs
  return if pairs.empty?
  if style == :hash_rockets || force_hash_rockets?(pairs)
    hash_rockets_check(pairs)
  elsif style == :ruby19_no_mixed_keys
    ruby19_no_mixed_keys_check(pairs)
  elsif style == :no_mixed_keys
    no_mixed_keys_check(pairs)
  else
    ruby19_check(pairs)
  end
end