Exception: YamlMaster::KeyFetchError
- Inherits:
-
StandardError
- Object
- StandardError
- YamlMaster::KeyFetchError
- Defined in:
- lib/yaml_master.rb
Instance Method Summary collapse
-
#initialize(data, key) ⇒ KeyFetchError
constructor
A new instance of KeyFetchError.
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 |