RubyGems Navigation menu

configtoolkit 2.2.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.

Gemfile:
=

安装:
=

版本列表:

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

Runtime 依赖 (2):

assertions >= 1.0.0
relative >= 1.0.0

Development 依赖 (1):

hoe >= 1.7.0

业主:

作者:

  • DesigningPatterns

SHA 256 校验和:

=

下载总量 98,585

这个版本 4,296

版本发布:

许可:

需要的 Ruby 版本:

链接: