Categories: None [Edit]

app-ctx

https://rubygems.org/gems/app-ctx
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.

Total

Ranking: 50,742 of 192,186
Downloads: 22,730

Daily

Ranking: 89,809 of 192,156
Downloads: 1

Depended by

RankDownloadsName
76,71512,646webdav-exporter

Depends on

RankDownloadsName
2,3459,231,435hoe

Owners

#GravatarHandle
1iconcrux