From: Yukihiro Matsumoto Date: 2004-09-20T10:28:26+09:00 Subject: Re: Array#index block and rdetect Hi, In message "Re: Array#index block and rdetect" on Mon, 20 Sep 2004 10:19:46 +0900, "David A. Black" writes: |> In that case, Hash#each and Enumerable#each_with_index should be |> redefined for consistency. | |Could #each_with_index be left to individual classes, as #each_index |is? Can you express your idea in detail? * Enumerable#each_index should be removed (yes/no) * Array#each_with_index should be added (yes/no) * Hash#each_with_index should be added with key as index (yes/no) * How about other enumerable classes? matz.