Almost no one uses #each_with_object as it is. #each_with_hash is hardly
better. We need a short method name. Moreover I don't think this method's
behavior is really the best approach to the real use case.



On Wed, Oct 31, 2012 at 7:07 PM, Nathan Broadbent <nathan.f77 / gmail.com>wrote:

> Hi everyone,
>
> Please see the pull request that I've opened on Rails ActiveSupport, to
> add an `each_with_hash` method: https://github.com/rails/rails/pull/8088
>
> @matz: Do you think this `each_with_hash` implementation could be added to
> Ruby, or is it better as a Rails ActiveSupport extension?
>
>
> Best,
> Nathan
>



-- 
Sorry, says the barman, we don't serve neutrinos. A neutrino walks into a
bar.

Trans <transfire / gmail.com>
7r4n5.com      http://7r4n5.com