Posted By

sionnnn on 05/07/09


Tagged

ruby


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

webstic
endorfin
4rp70x1n


ruby each with index


 / Published in: Ruby
 

  1. @something.each_with_index do |thing,index|
  2. puts index
  3. end

Report this snippet  

You need to login to post a comment.