Subject: Re: How to do a for loop...and iterate a set number of times?
From: Iaki Baz Castillo <ibc@ i . t
Date: Fri, 30 Jan 2009 07:27:36 +0900
References: 326196
In-reply-to: 326196
El Jueves, 29 de Enero de 2009, Dan No escribi:
> for thing in things #(how do I set the beginning and end of the loop?)
> #do something
> end
things.each {|thing|
#do something
}
--
Iaki Baz Castillo