Method: Butler::Plugin::ConfigProxy#exist?
- Defined in:
- lib/butler/plugin/configproxy.rb
#exist?(key) ⇒ Boolean Also known as: has_key?
test existence of a key, hands off to Configuration#exist? and prepends Plugin#base to the key
44 45 46 |
# File 'lib/butler/plugin/configproxy.rb', line 44 def exist?(key) @config.exist?(key.empty? ? @base : "#{@base}/#{key}") end |