Exception: Paramore::HashTooWild
- Inherits:
-
StandardError
- Object
- StandardError
- Paramore::HashTooWild
- Defined in:
- lib/paramore/errors.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ HashTooWild
constructor
A new instance of HashTooWild.
Constructor Details
#initialize(hash) ⇒ HashTooWild
Returns a new instance of HashTooWild.
26 27 28 |
# File 'lib/paramore/errors.rb', line 26 def initialize(hash) super("A hash field with a type as key may not contain any more entries! (so, eg.: { String => field } is ok, but { String => field, user_id: field } is not)") end |