From: nico Itkin Date: 2008-06-09T05:25:04+09:00 Subject: Re: double assignation in a hash Thanks evebody for yours answers, helps a lot :) ! Jes炭s : looks fantastic, but could you give me fex explanation how it works? > a = Hash.new {|h,k| h[k] = Hash.new(&h.default_proc)} is this a way to override the method new for the object a? You're doing so by passing the following block but then i'm lost, do you have any links to share which detail that ? Nico (so much to learn...) -- Posted via http://www.ruby-forum.com/.