From: Robb Shecter Date: 2008-05-28T04:21:24+09:00 Subject: Re: Can someone explain this syntax in new? Sebastian Hungerecker wrote: > No, it calls new and passes the above block to it. > The block will then be stored and executed every time a key is accessed > that > does not exist (with the hash object and the requested key as > arguments). Ah hah. I see; this is a particular feature of the Hash class -- one of the three ways to invoke new(). Thanks! -- Posted via http://www.ruby-forum.com/.