Class: BlendedConfig::Sources::Environment
- Inherits:
-
BlendedConfig::Source
- Object
- Struct
- BlendedConfig::Source
- BlendedConfig::Sources::Environment
- Defined in:
- lib/blended_config/sources/environment.rb
Instance Attribute Summary
Attributes inherited from BlendedConfig::Source
Instance Method Summary collapse
Methods inherited from BlendedConfig::Source
Instance Method Details
#[](key) ⇒ Object
8 9 10 11 12 |
# File 'lib/blended_config/sources/environment.rb', line 8 def [](key) var = (prefixes + [key]).join('_').upcase env[var] end |