From: Paul Battley Date: 2006-03-14T20:04:05+09:00 Subject: Re: Writing Good #each Methods? > hash.inject([]){ |acc, (key, value)| ... } Thanks! I hadn't thought to try that before. It's definitely going to make my future use of inject more concise and readable. Paul.