From: "Andres M." Date: 2011-12-04T15:20:24+09:00 Subject: Re: Dynamic instances of a class. Hassan Schroeder wrote in post #1034978: > On Sat, Dec 3, 2011 at 7:05 PM, Andres M. wrote: > >> require 'csv' > >> Is there any way to do it better, like, what is i didn't have 2 >> columns but multiple columns? > > Yes, use the CSV library you've required (but never used) to parse > the file -- that's what it's for :-) Ok, i really have no experience, and must say that the library was there when i started, i didn't include it :/ nor did i dig too much into it, i thought maybe that was required for something(just like in C and C++ where you have a bunch of libraries with each new file). -- Posted via http://www.ruby-forum.com/.