From: Angus Kwan Date: 2008-08-23T04:58:30+09:00 Subject: Re: Iterating through a hash Farrel Lifson wrote: > 2008/8/20 Brian Ross : >> 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/.