From: jake kaiden Date: 2011-04-17T00:28:26+09:00 Subject: Re: Get the real object in a Hash key hi IƱaki, i may well not understand exactly what you need to do, and so be oversimplifying, but could you do something similar to what Robert suggested (but a bit simpler,) and just use an array as each key's value? the header's original name could be added as the first element of the array - something like this: request = Hash.new{|key, value| key[value] = []} request["FROM"] = ["fRoM", "sip:alice@xample.org"] p hash["FROM"][0] #=> "fRoM" - j -- Posted via http://www.ruby-forum.com/.