Exception: CleanModel::UndefinedPersistenceMethod
- Defined in:
- lib/clean_model/exceptions.rb
Instance Method Summary collapse
-
#initialize(klass, method) ⇒ UndefinedPersistenceMethod
constructor
A new instance of UndefinedPersistenceMethod.
Constructor Details
#initialize(klass, method) ⇒ UndefinedPersistenceMethod
Returns a new instance of UndefinedPersistenceMethod.
13 14 15 |
# File 'lib/clean_model/exceptions.rb', line 13 def initialize(klass, method) super "#{klass} must define method [#{method}]" end |