how to make a hash in ruby code example Example: how to make a new hash ruby my_hash = Hash.new #=> { } # OR my_hash = {}