From: Jason Lillywhite Date: 2009-03-12T14:50:19+09:00 Subject: Re: change (and update) values of hash Is this the best solution: h = {"a"=> 3, "b"=> 5} x = {} h.each {|k,v| x[k] = v*2} => {"a"=>3, "b"=>5} h.replace(x) => {"a"=>6, "b"=>10} ? -- Posted via http://www.ruby-forum.com/.