Exception: Lunr::BadModel
Instance Method Summary collapse
-
#initialize(klass) ⇒ BadModel
constructor
A new instance of BadModel.
Constructor Details
#initialize(klass) ⇒ BadModel
Returns a new instance of BadModel.
15 16 17 |
# File 'lib/lunr/errors.rb', line 15 def initialize klass super "#{klass.name} doesn't include Lunr::Model!" end |