From: Mario Antonetti Date: 2010-04-09T11:55:29+09:00 Subject: Re: importing config files --0016363b839c3338430483c4edb8 Content-Type: text/plain; charset=ISO-8859-1 If you could include a sample of the files' contents, it would be helpful. require is used to access ruby libraries. What you are looking for is the File class. For example File.open('config.txt').each do |line| puts line end will spit out each line of a file. On Thu, Apr 8, 2010 at 8:53 PM, Derril Lucci wrote: > Well, I am not too educated in configuration files. I was going to just > write it in ruby (thats the language I am working in). The > configuration file is being used to specify intervals in time. My > project is generating a report for SysAdmins and this will allow them to > specify the interval at which they want the reports to be compared. > Getting back to the main problem, I had thought it was either "require" > or "include", but both of those proved fruitless. Hope this info helps. > > Cheers, > dlucci > > -- > Posted via http://www.ruby-forum.com/. > > --0016363b839c3338430483c4edb8--