Class: EasyConf::Lookup::Env

Inherits:
AbstractLookup show all
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