On Sun, Aug 25, 2013 at 8:59 AM, Ben G. <lists / ruby-forum.com> wrote:

> So I am trying to generate a list of my numbers in a rage
>

That way leads to the dark side. Take a moment to meditate and let go of
the anger.  :-)


> Ex. I want this:
> 1
> 2
> 3
> 4
>
>   w.write(numberlist)
>

If numberlist is an array (as it appears), then

  w.write( numberlist.join("\n") )

The Array class has lots of handy methods; reading the doc might
be very useful.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder / gmail.com
http://about.me/hassanschroeder
twitter: @hassan