Exception: NestedConfig::WithConfig::KeyNotFound
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- NestedConfig::WithConfig::KeyNotFound
- Defined in:
- lib/nested_config/with_config.rb
Instance Method Summary collapse
-
#initialize(key, keys) ⇒ KeyNotFound
constructor
A new instance of KeyNotFound.
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 |