From: gordon Date: 2006-03-07T06:58:40+09:00 Subject: Re: What is the best way to iterate through two containers of the same length? How about: foo = ["foo","foo"] bar = ["bar","bar"] foo.zip(bar).each do |a,b| puts "#{a} #{b}" end