# File lib/configatron/store.rb, line 67 def fetch(key, default_value = nil, &block) key = key.to_sym if key?(key) val = @attributes[key] else if block val = block.call elsif default_value val = default_value end store(key, val) end if ::Configatron::Proc === val val = val.call end return val end