Module: SmartConfig::Config
- Includes:
- Values
- Defined in:
- lib/smart_config/config.rb
Overview
Allows creating static configurations that rely on YAML files, or fall back to environment variables
Instance Attribute Summary
Attributes included from Values
Instance Method Summary collapse
Methods included from Values
#format_value, #get_value, #group, #keys, #method_missing, #respond_to_missing?, #value
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SmartConfig::Values
Instance Method Details
#config_path(path) ⇒ Object
13 14 15 |
# File 'lib/smart_config/config.rb', line 13 def config_path(path) @config_path = path end |