From: Robert Dober Date: 2008-07-16T16:35:30+09:00 Subject: Re: Complicated class initialization/instantiation problem. On Wed, Jul 16, 2008 at 9:13 AM, Pit Capitain wrote: > 2008/7/16 Michael T. Richter : > @registry[tag] ||= klass Although your simplification of h[k] = value unless h.has_key? k to h[k] || = value is *often* what the user wants, but it is *not* equivalent code of course. Just wanted to point that out to be on the save side. Cheers Robert -- http://ruby-smalltalk.blogspot.com/ --- AALST (n.) One who changes his name to be further to the front D.Adams; The Meaning of LIFF