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.

Required Ruby Version

> 0.0.0

Authors

Ryan Davis

Versions

  1. 0.1.6
    1. source

      1. 0.1.6 source February 16, 2007 (13.5 KB)
  2. 0.1.4
    1. source

      1. 0.1.4 source November 01, 2006 (10.5 KB)
  3. 0.1.3
    1. source

      1. 0.1.3 source October 20, 2006 (10.5 KB)
  4. 0.1.2
    1. source

      1. 0.1.2 source September 17, 2006 (9 KB)

SHA 256 checksum