From: 7stud -- Date: 2007-09-03T16:21:35+09:00 Subject: Re: Hash.new with a block? Alex Gutteridge wrote: > So short answer: Hash#[] calls Hash#default which in the case of Hash > objects with an associated Proc calls the Proc. > Thanks for the explanation. So, is correct to assume that in the source code for Hash#default there is a line somewhere that says something like: yield hash, key -- Posted via http://www.ruby-forum.com/.