Exception: HashGleaner::MissingKeysException
- Inherits:
-
StandardError
- Object
- StandardError
- HashGleaner::MissingKeysException
- Defined in:
- lib/hash_gleaner.rb
Instance Method Summary collapse
-
#initialize(missing_keys) ⇒ MissingKeysException
constructor
A new instance of MissingKeysException.
Constructor Details
#initialize(missing_keys) ⇒ MissingKeysException
Returns a new instance of MissingKeysException.
27 28 29 30 |
# File 'lib/hash_gleaner.rb', line 27 def initialize(missing_keys) msg = "Missing required keys #{missing_keys.keys.uniq}" super(msg) end |