RubyGems Navigation menu

app-ctx 0.1.6

For all applications (you are not a mouseclicker, are u?), once in a while you need to supply some configuration values to overrule the built-in defaults. The app-ctx gem does unify and organize built-in constants, config files and commandline option with a clearly defined priority, from low to high: - procedural: set from your implementation App::Config#set_default_values - YAML default values file loaded from next to the $0 script - user supplied configuration file, eg.: --config=/tmp/foo.yml - command line options and flags: --foo --bar=foo But for your application it is of no interesst from where the values are coming: command line option: "--port=1234", a user configuration file or from the applications built-in default values. Therefor +app-ctx+ combines value settings from various sources into a single configuration hash.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.1.6 - February 16, 2007* (13.5 KB)
  2. 0.1.4 - November 01, 2006* (10.5 KB)
  3. 0.1.3 - October 20, 2006* (10.5 KB)
  4. 0.1.2 - September 17, 2006* (9.0 KB)

Runtime 相依性套件 (1):

hoe >= 1.2.0

擁有者:

作者:

  • Ryan Davis

SHA 256 checksum:

b94336dcdaf512ae5b12373ee94e4161891f18bddcad09da3b9fd3a28d714b50

總下載次數 21,145

這個版本 6,282

License:

Ruby 版本需求: > 0.0.0

相關連結: