Class: Fire::NestedModel::DuplicatedParentPathKeyError
- Inherits:
-
InvalidPathKeyError
- Object
- InvalidPathKeyError
- Fire::NestedModel::DuplicatedParentPathKeyError
- Defined in:
- lib/model/nested/nested_model.rb
Instance Method Summary collapse
-
#initialize(key, parent) ⇒ DuplicatedParentPathKeyError
constructor
A new instance of DuplicatedParentPathKeyError.
Constructor Details
#initialize(key, parent) ⇒ DuplicatedParentPathKeyError
Returns a new instance of DuplicatedParentPathKeyError.
51 52 53 54 |
# File 'lib/model/nested/nested_model.rb', line 51 def initialize(key, parent) = "Key '#{key}' is duplicated in a Parent Model '#{parent}'" super(key, ) end |