From: Joel VanderWerf Date: 2003-10-05T03:22:59+09:00 Subject: Re: hash of hashes 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.