----- Original Message ----- 
From: "Ari Brown" <ari / aribrown.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Saturday, June 02, 2007 10:12 PM
Subject: Re: [QUIZ] FizzBuzz (#126)
..

> Also, i seem to be unable to put a range into an array. Yes, i  
> understand this is very simple, but when I did what I THOUGHT would  
> work, I can't get a range of numbers to be inserted into an array.
> Apparently this does not work:
> array = []
> array = array << (1..100)

array = (1..100).to_a
# or
array = [*1..100]
# or (golfers favorite?)
array = *1..100
# or (if you need to add it to existing array):
array.push *1..100