On Tue, Sep 20, 2011 at 4:45 PM, Dominic Sisneros <dsisnero / gmail.com> wrote:
> On Tue, Sep 20, 2011 at 8:27 AM, Joe Collins <joec_49 / hotmail.com> wrote:
>
>> I have an array
>
>
>
>
>
>> %w[DOG CAT HAT BOY].join("\n")

It's not exactly what the OP wanted... :-)  Also, I am suspecting a
homework assignment here.

Joe, what do you need those newlines for?  Are you aware how
puts(an_array) works?  If not, please make yourself familiar with it

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/