Exception: Anima::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Anima::Error
- Includes:
- AbstractType
- Defined in:
- lib/anima/error.rb
Overview
Abstract base class for anima errors
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(model, names) ⇒ undefined
constructor
private
Initialize object.
Constructor Details
#initialize(model, names) ⇒ undefined
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.
Initialize object
16 17 18 |
# File 'lib/anima/error.rb', line 16 def initialize(model, names) super("#{self.class.name.split('::').last} attribute(s) #{names.inspect} for #{model.name}") end |