From: Robert Klemme Date: 2011-09-20T23:55:52+09:00 Subject: Re: appending \n to each element in an array On Tue, Sep 20, 2011 at 4:45 PM, Dominic Sisneros wrote: > On Tue, Sep 20, 2011 at 8:27 AM, Joe Collins 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/