class Shale::DefaultNotCallableError
Error for trying to assign not callable object as an attribute’s default
@api private
Public Class Methods
new(record, attribute)
click to toggle source
Initialize error object
@param [String] record @param [String] attribute
@api private
Calls superclass method
# File lib/shale/error.rb, line 29 def initialize(record, attribute) super("'#{attribute}' default is not callable for #{record}.") end