2012/2/1 Nobuyoshi Nakada <nobu / ruby-lang.org>

>
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
> Yura Sokolov wrote:
> > I often wish to have methods, which likes to `inject` but do use return
> value of block for next iteration:
>
> Try each_with_object.
>

Yeah, it is good :) though it have a long name. It's pity that 1.9.3 hadn't
it.

Yura