> Another way to say this is: > > t.each {|x| puts x[0]} I'm enjoying this thread, heres another way. Sans "0"!
for element in (t.index(t.first)..t.index(t.last)) puts t[element].first end --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6230&messageID=17595#17595 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general