From: "Jakub Kuźma" Date: 2007-10-03T19:20:05+09:00 Subject: Re: Hash of arrays - strange behavior. Dnia Wed, 3 Oct 2007 19:15:35 +0900 Sebastian Hungerecker wrote: > > Hash.new(arg) makes arg the default, but it doesn't assign to the > hash. You want h = Hash.new {|h,k| h[k] = []} > > HTH, Thank you very much :-). > Sebastian -- Jakub Kuźma http://jah.pl/ JID oraz e-mail w domenie gmail.com, login - qoobaa