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