Class: ContainerConfig::Provider::Env

Inherits:
Base
  • Object
show all
Defined in:
lib/container_config/provider/env.rb

Overview

Environment variable config value provider

Instance Method Summary collapse

Instance Method Details

#load(key, *dig_keys, **options) ⇒ Object

Loads an environment value configuration setting



23
24
25
26
# File 'lib/container_config/provider/env.rb', line 23

def load(key, *dig_keys, **options)
  super
  ENV[key]
end

#nameObject

See Also:



10
11
12
# File 'lib/container_config/provider/env.rb', line 10

def name
  "Environment Variable"
end