Class: EasyConf::Lookup::Yaml

Inherits:
AbstractLookup show all
Defined in:
lib/easy_conf/lookup/yaml.rb

Class Method Summary collapse

Class Method Details

.read(key) ⇒ Object



30
31
32
33
# File 'lib/easy_conf/lookup/yaml.rb', line 30

def read(key)
  value = dict[key.to_s]
  !value.nil? && commit(value)
end