From: tamouse mailing lists Date: 2013-01-31T13:26:23+09:00 Subject: Re: newbie question.. On Tue, Jan 29, 2013 at 10:08 PM, Ryan Victory wrote: > Out of curiosity, what did you do to get it working? I played around in > irb after sending that (it was a quick guess, not anything I tried > first) and ended up using two lines, both with > Enumerable#each...couldn't get the hash to be used as the accumulator. I forgot one of ruby's basic things. It always returns the last value in the block.