Module: Unifig::Providers::Env
- Defined in:
- lib/unifig/providers/env.rb
Class Method Summary collapse
Class Method Details
.name ⇒ Object
7 8 9 |
# File 'lib/unifig/providers/env.rb', line 7 def self.name :env end |
.retrieve(var_names, _config) ⇒ Object
11 12 13 14 15 |
# File 'lib/unifig/providers/env.rb', line 11 def self.retrieve(var_names, _config) var_names.to_h do |name| [name, ::ENV[name.to_s]] end end |