From: Yukihiro Matsumoto Date: 2005-07-11T14:57:00+09:00 Subject: Re: accessing index inside map Hi, In message "Re: accessing index inside map" on Mon, 11 Jul 2005 14:29:24 +0900, nobuyoshi nakada writes: | $ ./ruby -renumerator -e 'p (1..6).to_enum.with_index{|x,i|p [x,i]}' | [1, 0] | [2, 1] | [3, 2] | [4, 3] | [5, 4] | [6, 5] | 1..6 | |A patch based on the current implementation. Can you commit this patch to the HEAD? matz.