I tried ruby-cdb
basically its a ruby wrapper for access to the "constant Database"
I currently have an error when I try to run it, but I think it was a permissions problem on my linux machine.
undefined method `create' for CDB:Class
CDB.create('cdb', 'tmp', 0600) do |data|
data['eins'] = 'ichi'
data['zwei'] = 'ni'
data['drei'] = 'san'
data['vier'] = 'yon'
print CDB.dump('cdb'), "\n"
CDB.update('cdb', 'tmp') do |read, write|
write['one'] = read['eins']
write['two'] = read['zwei']
write['three'] = read['drei']
write['four'] = read['vier']