From: George Ogata Date: 2006-03-14T19:53:48+09:00 Subject: Re: Writing Good #each Methods? "Paul Battley" writes: > Wouldn't it be nice if inject did the same, though? E.g. > hash.inject([]){ |acc, key, value| ... } You can come close: hash.inject([]){ |acc, (key, value)| ... }