Exception: Blueprinter::Errors::InvalidRoot Private
- Inherits:
-
BlueprinterError
- Object
- StandardError
- BlueprinterError
- Blueprinter::Errors::InvalidRoot
- Defined in:
- lib/blueprinter/errors/invalid_root.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(message = 'root key must be a Symbol or a String') ⇒ InvalidRoot
constructor
private
A new instance of InvalidRoot.
Constructor Details
#initialize(message = 'root key must be a Symbol or a String') ⇒ InvalidRoot
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidRoot.
8 9 10 |
# File 'lib/blueprinter/errors/invalid_root.rb', line 8 def initialize( = 'root key must be a Symbol or a String') super end |