From: Robert Klemme Date: 2003-10-06T06:18:43+09:00 Subject: Re: hash of hashes "Joel VanderWerf" schrieb im Newsbeitrag news:3F7F0FF8.1030708@path.berkeley.edu... > Robert Klemme wrote: > > "Joel VanderWerf" schrieb im Newsbeitrag > .. > >>It would help to do > >> > >>a = Hash.new {{}} > >> > >>since you get a new hash each time... > > > > > > Not really: > > Oops. Of course you're right, since the value returned by the block is > never assigned to any part of the hash. You always have to do that yourself. .... and it's always the same. Something not wanted in this case. robert