From: Karl von Laudermann Date: 2008-01-09T23:45:05+09:00 Subject: Re: using ruby for config files On Jan 9, 3:09 am, furtive.cl...@gmail.com wrote: > I eventually settled on the below for my config file purposes. I > wanted configuration to be convenient and flexible. Using XML or YAML > robs me of the occasional #map, for example. Using a hash for > configuration is too error-prone; I should assume those doing the > configuring have no knowledge of ruby. That is, > > foo = "bar" > size = 44 If you just want to have configuration files that are little more than key/value pairs, why not use the Windows INI file format? There are already ruby gems that provide read/write access to INI files: $ gem list ini -r -d *** REMOTE GEMS *** ini (0.1.1) INI file reader and writer inifile (0.1.0) INI file reader and writer