How do I move an index in the 'each' back ward or repeat itself at certain point? a.each do |i| b.each do |j| if a[4] == b[4] At this point I would like to advance the next index in a.each but remain in b.each, another word, b[4] will not become b[5] after the a[had advance], how can I do ? end end end Kinfe