Exception: NestedStruct::Errors::InvalidCoercerTarget
- Inherits:
-
StandardError
- Object
- StandardError
- NestedStruct::Errors::InvalidCoercerTarget
- Defined in:
- lib/nested_struct/errors/invalid_coercer_target.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidCoercerTarget
constructor
A new instance of InvalidCoercerTarget.
Constructor Details
#initialize ⇒ InvalidCoercerTarget
Returns a new instance of InvalidCoercerTarget.
4 5 6 |
# File 'lib/nested_struct/errors/invalid_coercer_target.rb', line 4 def initialize super('Coercer target\'s ancestors must include NestedStruct::Interface.') end |