From: "Mauricio Fernández" Date: 2005-08-27T18:05:12+09:00 Subject: Re: Wilderness:: The purpose of "ifnone" entry in RHash Structure On Sat, Aug 27, 2005 at 04:14:24PM +0900, Charles E. Thornton wrote: > Question: The purpose of "ifnone" entry in RHash Structure. > Appears to be associated the Procedure Block ? > Unclear what is going on! It stores either the default value or the Proc invoked when a non-existent key is used, in which case the Hash object is flagged as HASH_PROC_DEFAULT. It's easy to see if you read for instance rb_hash_initialize and rb_hash_default. -- Mauricio Fernandez