------art_40773_16822391.1219253887680
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

How can I iterate through a hash so that each key is modified and saved into
a new hash?

# Beginning of code

hash  "name"greg", "job"boring", "hair"plenty"}
p hash

map  ash.each_key do |key|
  key.upcase
end

p map

# End of code

I'd imagine that this would return map as a new hash with the keys modified.
Is there anything like collect! for hashes?

Brian

------art_40773_16822391.1219253887680--