From: Dan No Date: 2009-01-30T07:16:35+09:00 Subject: How to do a for loop...and iterate a set number of times? So painfully basic, but I'm just starting Ruby and am coming to it from C/C++/Java, etc. and some of the syntax is unnatural to me, and yes, I've tried Google. I have an array of things and I want to access the first 10...how do I do that? for thing in things #(how do I set the beginning and end of the loop?) #do something end -- Posted via http://www.ruby-forum.com/.