From: Michael Fellinger Date: 2006-05-15T18:36:27+09:00 Subject: Re: Mapping a String to Properties - A Better Way? No, it keeps the hash intact - just try it in irb :) >> (h = {1,2,3,4}).each{|key, value| key += 2} => {1=>2, 3=>4} On Monday 15 May 2006 18:01, Dick Davies wrote: > On 15/05/06, Michael Fellinger wrote: > > maybe like that? > > > > params.each do |key, value| > > key = key.split('_') > > Doesn't this update the hash key back up in the caller? -- You will give someone a piece of your mind, which you can ill afford.