RubyGems.org

jeckyl

0.4.0

Create and manage configuration files in Ruby for Ruby. Jeckyl can be used to create a parameters hash from a simple config file written in Ruby, having run whatever checks you want on the file to ensure the values passed in are valid. All you need to do is define a class inheriting from Jeckyl, methods for each parameter, its default, whatever checking rules are appropriate and even a comment for generating templates etc. This is then used to parse a Ruby config file and create the parameters hash. Jeckyl comes complete with a utility to check a config file against a given class and to generate a default file for you to tailor. Type 'jeckyl readme' for more information.

installgem install jeckyl
Authors

Dr Robert

4,626 total downloads 115 for this version
Owners

1eae60ee26d7da61f76300e1e60b961e

Licenses

Open Software Licence v3.0

Gemfile
gem 'jeckyl', '~> 0.4.0'
Versions
  1. 0.4.0 October 1, 2014 (32 KB)
  2. 0.3.7 September 19, 2013 (30 KB)
  3. 0.2.7 November 15, 2012 (25 KB)
  4. 0.2.5 October 25, 2012 (25 KB)
  5. 0.2.4 October 25, 2012 (25 KB)
Show all versions (7 total)
Runtime Dependencies
  1. optplus >= 0.0.6
Ruby Dependency
  1. >= 0