Exception: Shale::UnknownAttributeError Private
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Shale::UnknownAttributeError
- Defined in:
- lib/shale/error.rb
Overview
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.
Error for assigning value to not existing attribute
Instance Method Summary collapse
-
#initialize(record, attribute) ⇒ UnknownAttributeError
constructor
private
Initialize error object.
Constructor Details
#initialize(record, attribute) ⇒ UnknownAttributeError
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 error object
64 65 66 |
# File 'lib/shale/error.rb', line 64 def initialize(record, attribute) super("unknown attribute '#{attribute}' for #{record}.") end |