Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
ANN: ConfigToolkit 2.3.0 Released
Tony Strauss
6/12/2009 4:46:00 PM
Version 2.3.0 of the ConfigToolkit has been released. The
ConfigToolkit is a Ruby Gem that allows configuration files to be
parsed and used within programs easily and robustly.
* It allows programmers to specify the data that should be loaded from
a configuration file (including the type of each parameter, whether
the parameter is required, and custom constraints). The ConfigToolkit
automagically generates a class from the specification of the
configuration, including parameter accessor methods (getters, setters,
and predicates to test for presence), an equality operator, and a
to_s method. This allows configurations to be used easily within
programs.
* It can handle configurations nested within each other and
configuration parameters that are Arrays.
* It loads configuration files into instances of configuration
classes. It validates the configuration file while doing so, ensuring
that the value for each parameter is of the correct type, that all
required parameters are present, and that all custom constraints are
satisfied.
* It can write a configuration class instance to a configuration file
(generating configuration files programatically).
* It can read/write a variety of configuration file formats, including
YAML files, UNIX key/value files, and Ruby configuration files. In
addition, it allows Readers and Writers to be created by users for
other configuration file formats.
* It is written in pure Ruby and works with the MRI, with JRuby, etc.
For full information, see:
http://configtoolkit.ruby...
Tony
--
Tony Strauss
Designing Patterns, LLC
http://www.designingpa...
http://blogs.designingpa...
1 Answer
Tony Strauss
6/12/2009 4:51:00 PM
0
I forgot to add that we would love to hear feedback.
Tony
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
ANN: ConfigToolkit 2.3.0 Released
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password