Exception: Findable::ModelNotFound
- Inherits:
-
FindableError
- Object
- StandardError
- FindableError
- Findable::ModelNotFound
- Defined in:
- lib/findable/errors.rb
Instance Method Summary collapse
-
#initialize(model_name) ⇒ ModelNotFound
constructor
A new instance of ModelNotFound.
Constructor Details
#initialize(model_name) ⇒ ModelNotFound
Returns a new instance of ModelNotFound.
12 13 14 |
# File 'lib/findable/errors.rb', line 12 def initialize(model_name) super("#{model_name} not found.") end |