From: Nikolai Weibull Date: 2007-11-15T22:25:40+09:00 Subject: Re: Proposal: Array#walker On Nov 15, 2007 11:32 AM, Wolfgang N�dasi-Donner wrote: > In Ruby 1.9 some method are added for the list view - Array#permutation, > Array#combination, Array#product, which can be used with a block or will produce > an Enumerator object. > > From this viewpoint I recognized when writing the "walker" method for a special > reason, that in class Array a method is missing, that produces an Enumumerator > object or uses a block, which delivers each object of the Array together with > the pre-list and post-list context. > > Thats all. And the concencus so far has been that this isn't useful enough to have in core. Trans suggested that he might add it to his library that currently contains a lot of stuff that isn't useful enough to have in core, but yes, that's a separate issue.