On Thu, Feb 24, 2011 at 3:55 PM, hard wyrd <[email protected]> wrote:
> (0..100).each do |x| puts "hello world" end
if you just want to repeat a process, there's fixnum#times
so, in this case, the ff would do
100.times{puts "hello, world"}
it's easy to read too.. orally..
best regards -botp
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)
Searchable Archives: http://archives.free.net.ph