From: Guillaume Cottenceau Date: 2001-07-07T02:52:31+09:00 Subject: [ruby-talk:17418] Re: Default Value in a Hash.. but I need a new object each time! David Alan Black writes: [...] > For what it's worth, here's something I wrote a few months ago as a > kind of testbed for this. There was a bunch of discussion on this > list around that time (about January). I've added a test for your > particular case. This might at least provide a starting point for > exploring. I'm not sure what the status of Hash#default's future is > (there were certainly suggestions for change/enhancement). Thanks David! This lights up the problem much! -- Guillaume Cottenceau - http://mandrakesoft.com/~gc/