schuerig / acm.org wrote:
>Does Ruby have a facility for config files similar to Java's Properties
>class?

I'm not familiar with Java's Properties, and I 
haven't tried it, but the RAA has an ini file 
handler:
http://www.ruby-lang.org/en/raa-
list.rhtml?name=IniFile

In my own app, all I needed was:

class HashFile < Hash
	def initialize(filespec)
		super()
		load(filespec)
	end
	
	def load(filespec)
		File.foreach(filespec) do
			| line |
			key, value = line.split('=')
			if key && value
				key.strip!
				value.strip!
				self[key] = value
			end
		end		
	end
end

Kevin