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

You can't request more than 20 challenges without solving them. Your previous challenges were flushed.
Courtesy Ruby Inside  Sat, 08/30/2008 - 18:49

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 = ...


 

More related items

Mack 0.7.0: A Significant Update to A Powerful Ruby...
We first covered Mack in April, when I billed it as a "fast, best of the rest, Web app framework." Mack, a Ruby-based Web application framework, developed by a team led by Mark Bates, has...

Mack: A Fast, “Best of the Rest” Web App Framework
Mack is an interesting new Ruby Web app framework (of which, as we know, there are many!) that takes some of the best elements of other Web app frameworks (including Rack support!) and...

RSpec 2.8: The Popular Ruby BDD Tool Goes Supersonic
RSpec 2.8 has been released, along with rspec-rails 2.8.1 for the full Rails 3.x integration experience. RSpec is a BDD-focused testing tool that's particularly popular in the Rails world...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com