RubyGems Navigation menu

configtoolkit 2.3.0

This package makes sourcing information from (parsing) configuration files robust and easy! It: * Allows programmers to specify the type of data that should be loaded from a configuration file. The toolkit automatically will validate the file's data against this specification when loading the file, ensuring that the specification always is obeyed and saving the programmer the tedious chore of writing validation code. * Automagically generates parameter accessor methods (getters, setters, and predicates to test for presence), an equality operator, and a +to_s+ method from the configuration's specification. * Allows programmers to create configuration files, easily and programatically. * Provides a class that can load (parse) Ruby configuration files (allowing the full power of Ruby to be used within configuration files). * Provides classes that can load from (parse) and dump to YAML and key-value configuration files. * Provides classes that can load from and dump to Hashes. * Provides a class that allows the contents of one configuration source to override the contents of another (this works with configuration files of any format or Hashes). * Is very extensible, allowing the engine to be used with custom format configuration files and with custom data validation rules.

版本列表:

  1. 2.3.2 - May 02, 2011 (68.0 KB)
  2. 2.3.1 - January 31, 2010 (68.0 KB)
  3. 2.3.0 - July 25, 2009 (67.5 KB)
  4. 2.2.0 - July 25, 2009 (64.0 KB)
  5. 2.1.0 - July 25, 2009 (59.5 KB)
显示所有 (16 个版本)

所有者:

作者:

  • DesigningPatterns

SHA 256 checksum:

66ac339d6d1252b99d99b423218de81fab92156cb1cd7589c4ce47fd92ec75b8

下载总次数 75,287

这个版本 3,691

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可s:

需要的 Ruby 版本:

相关链接: