From: Simon Krahnke Date: 2009-02-08T03:34:12+09:00 Subject: Re: Special Hash Constructors * Robert Klemme (17:35) schrieb: > It's closer than I initially thought. But: I wanted these two special > methods and not yet another generic method. For that, we have the > original Hash.new already. Your version still needs an argument. Since > I see that we are using an Array most of the time anyway that can be > coded into the method. No need for another generic approach IMHO. The difference between the existing and the new generic is the assignment. I see the block form of new most often because some mutable object should be assigned on read. mfg, simon .... l