Hi,
In message "[ruby-talk:8908] Re: bug??"
on 01/01/09, Aleksi Niemel<aleksi.niemela / cinnober.com> writes:
|> I think
|>
|> Hash.new{...}
|>
|> is the way to go.
|
|I agree. But should we have way to change the hash default initializer?
Not really. Hash default value (single object given to `Hash::new')
and hash fallback (block given to `Hash::new') are two similar yet
different beasts. And code portion by block may not be replaceable
later in many other cases.
matz.