From: lasitha Date: 2009-03-12T16:12:11+09:00 Subject: Re: change (and update) values of hash On Thu, Mar 12, 2009 at 12:42 PM, lasitha wrote: > If in doubt, iterate over the keys instead: > h.keys.each {|k| h[k] = h[v] * 2 } ~~~~ oops. should be h[k] = h[k] * 2 lasitha.