On Wed, 27 Nov 2002 04:21 pm, Alan Chen wrote:
> Well, how about something like Regexp.last_match, where you can
> make a call to retrieve the iteration data.
>
> ary.map { |e,f,g|
>   ei = Enumerable.iteration_info
>   #...
> }

This looks very promising, but doesn't allow you to determine which iterator 
we're talking about in the case of nested iterators.

Tim Bates
-- 
tim / bates.id.au