Exception: QuickSearch::UnsupportedAdapter
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- QuickSearch::UnsupportedAdapter
- Defined in:
- lib/quick-search/search.rb
Constant Summary collapse
- DEFAULT_MESSAGE =
'QuickSearch could not find an adapter for your class: %s'
Instance Method Summary collapse
-
#initialize(cls, *args) ⇒ UnsupportedAdapter
constructor
A new instance of UnsupportedAdapter.
Constructor Details
#initialize(cls, *args) ⇒ UnsupportedAdapter
Returns a new instance of UnsupportedAdapter.
75 76 77 |
# File 'lib/quick-search/search.rb', line 75 def initialize(cls, *args) super(sprintf(DEFAULT_MESSAGE, cls), *args) end |