From: Ron Fox Date: 2008-06-24T19:58:05+09:00 Subject: Re: Spacing data into columns http://api.rubyreports.org/ If you're going to do a lot of this sort of thing. Justin To wrote: > Hi, I want to output a series of items, but I want to make sure they're > properly spaced out so it's more readable. > > Sample: > > dfssdf | 393f | dfskjsdfk > dfjkdfkdfkj| fd | 3493 > df | 1 | etc.... > > Each row is a class and the data is a variable in the class. For > example, row 1-variable 1 is 'dfssdf', row1-variable 2 is '393f', etc. > > All of my row objects are stored in an array, and when I want to output > them, I iterate through the array to access each object's data. How can > I make sure that each object's data is output in accordance with every > other data's data? (i.e. proper spacing) > > THANKS! -- Ron Fox NSCL Michigan State University East Lansing, MI 48824-1321