From: Alex Young Date: 2007-02-23T22:05:23+09:00 Subject: Re: ruby equivalent for property or config.xml ? Farrel Lifson wrote: > On 23/02/07, Rebhan, Gilbert wrote: >> >> Hi, >> >> i have a ruby script that should be controlled via >> configfile, similar as a propertyfile or config.xml in java. >> >> What's the ruby equivalent for that ? >> >> Gilbert >> >> > > Your best bet is probably YAML which is part of the standard library. > > Farrel > Or just a ruby file... module Config DATABASE = {:adapter => 'foo' ...} FROBNICATOR = :fozzbangle LOCATION = :coozbain end -- Alex