Farrel Lifson wrote:
> 2008/8/20 Brian Ross <p.brian.ross / gmail.com>:
>> end
>>
>> p map
>>
>> # End of code
> 
> Hash[*hash.map{|key,value| [key.upcase, value]}.flatten]
> 
> Farrel

*hash.map{|key,value| [key.upcase, value]}.flatten

what * do to the array pls? :)
-- 
Posted via http://www.ruby-forum.com/.