From: Jimmy Kofler Date: 2008-05-06T22:01:37+09:00 Subject: Re: Different Ways To Loop > Different Ways To Loop > > Posted by Wyatt Greene (Guest) on 04.05.2008 04:10 > > I love the flexibility of Ruby. It gives you several ways to do > something, leaving you to pick the most appropriate one. In the > spirit of showing off the flexibility of Ruby, I'd like to see how > many different ways there are to write a loop that prints the numbers > 1 to 100, one on each line. ... Just for the sake of completeness! puts Array(1..100) Cheers, j.k. -- Posted via http://www.ruby-forum.com/.