blog comments 9 del.icio.us bookmarks 0 diggs 0 Google results 1

6.4
PostRank

Configatron: Simple, Persistent Configs for your Ruby App(s)

Ruby Inside From Ruby Inside, 2 months ago, 1 view

Configatron is a new Ruby library that makes it easy to have persistently accessible configuration data available through your Ruby application. It bears some similarities to the Rails pluginSimpleConfig, but being distributed as a gem, is suitable for non-Rails applications. To install: gem install configatron

Once configatron is installed, the following code will get things going:

configatron do |config|
  config.app_name = "My Awesomely Jazzy App"
  config.database_url = "postgres://localhost/somedb"
  # etc...
end

comments

No comments yet.

You must be logged in to add your own comment.