Class Lafcadio::LafcadioConfig
In: lafcadio/util.rb
Parent: Hash

LafcadioConfig is a Hash that takes its data from the config file. You‘ll have to set the location of that file before using it: Use LafcadioConfig.set_filename.

LafcadioConfig expects its data to be colon-delimited, one key-value pair to a line. For example:

  dbuser:user
  dbpassword:password
  dbname:lafcadio_test
  dbhost:localhost
  dbtype:Mysql ("Mysql" is the default; select "Pg" for Postgres)

Methods

[]=   new   new   set_filename   set_values  

Public Class methods

[Validate]