Class: EasyConf::Lookup::Env
- Inherits:
-
AbstractLookup
- Object
- AbstractLookup
- EasyConf::Lookup::Env
- Defined in:
- lib/easy_conf/lookup/env.rb
Class Method Summary collapse
Class Method Details
.read(key) ⇒ Object
12 13 14 15 |
# File 'lib/easy_conf/lookup/env.rb', line 12 def read(key) value = ENV[key.to_s] value && commit(value) end |