From: Siddharth Venkatesan Date: 2010-12-26T18:13:18+09:00 Subject: Re: array index inside map function --002215b02db630473704984ca130 Content-Type: text/plain; charset=ISO-8859-1 Thanks a lot. All of the three solution taught me something. I think i'll go with .map.with_index. That looks concise. Thanks again. --002215b02db630473704984ca130--