From: ahoward Date: 2003-01-26T12:12:31+09:00 Subject: Re: datafiles as Ruby source musings On Sun, 26 Jan 2003, Wilbert Berendsen wrote: > Does anybody have a nice hint or better trick to create data- or config files > readable with Ruby without having to write parsers in ruby? XML YAML tho it seems like module M eval IO.readline 'config' end is elegant enough, you could even module M eval IO.readline "#{self}.config" end -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================