From: Marc Heiler Date: 2008-08-08T18:31:27+09:00 Subject: Re: Most compact command for associate array 'totalling'? > Quite true, but I find the block form to be a better "general case" > form to know since it is so much more flexible. I guess you have a point here, but visually I find the shorter solution a = Hash.new(0) a['abc'] += 1 more appealing. -- Posted via http://www.ruby-forum.com/.