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.



11
12
13
# File 'lib/yaml_master.rb', line 11

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