Possible Duplicate: Automatic counter in Ruby for each? I want to find out the current index while i am in the each loop. how do i do so?
確定! 回上一頁