Exception: NestedConfig::WithConfig::KeyNotFound

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/nested_config/with_config.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, keys) ⇒ KeyNotFound

Returns a new instance of KeyNotFound.



57
58
59
# File 'lib/nested_config/with_config.rb', line 57

def initialize(key, keys)
  super(%{config key "#{key}" in config.#{keys.map(&:to_s).join(".")} not found})
end