From: Jason Lillywhite Date: 2009-03-12T15:36:27+09:00 Subject: Re: change (and update) values of hash > This is much easier: > h.each {|k, v| h[k] = v * 2 } thank you. I was told it could be bad to change values during iteration. That is why I proposed doing replace. what do you think? -- Posted via http://www.ruby-forum.com/.