Module: Configurate

Defined in:
lib/configurate.rb,
lib/configurate/proxy.rb,
lib/configurate/provider.rb,
lib/configurate/setting_path.rb,
lib/configurate/lookup_chain.rb,
lib/configurate/provider/env.rb,
lib/configurate/provider/yaml.rb,
lib/configurate/provider/dynamic.rb

Overview

A flexible and extendable configuration system. The calling logic is isolated from the lookup logic through configuration providers, whose only requirement is to define the #lookup method and show a certain behavior on that. The providers are asked in the order they were added until one provides a response. This allows to even add multiple providers of the same type, you never easier defined your default configuration parameters. There is no shared state, you can have an unlimited amount of independent configuration sources at the same time.

See Settings for a quick start.

Defined Under Namespace

Modules: Provider Classes: LookupChain, MissingSetting, Proxy, SettingNotFoundError, SettingPath, Settings