From: Pete Elmore Date: 2005-04-05T02:51:17+09:00 Subject: Re: Two Questions about Hash Defaults Yukihiro Matsumoto wrote: > Hi, Wow, Matz himself! :) > list = Hash.new{[]} > defaults = { > :preserve_breaks => true, > :indent => 0, > :columns => 79, > } > list = Hash.new{|h,k|defaults[k]} This is interesting; thanks for the response!