From: Stefano Mioli Date: 2011-07-18T01:29:59+09:00 Subject: Re: Array#each vs. Array#each_index iteration On 7/17/11 5:03 PM, jake kaiden wrote: [snip] > i overlooked that Array#index was always going to return the > first occurrence even if it was within an iteration... [snip] Be careful not to think that a method *knows* that it's being used in the context of an iteration, even if it's a method of the same object you're iterating. -- Stefano Mioli