Exception: YamlMaster::KeyFetchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yaml_master.rb

Instance Method Summary collapse

Constructor Details

#initialize(data, key) ⇒ KeyFetchError

Returns a new instance of KeyFetchError.



14
15
16
# File 'lib/yaml_master.rb', line 14

def initialize(data, key)
  super("cannot fetch key \"#{key}\" from\n#{data.pretty_inspect}")
end