Class: Plucky::Query
- Inherits:
-
Object
- Object
- Plucky::Query
- Defined in:
- lib/mongomapper_search/query.rb
Instance Method Summary collapse
Instance Method Details
#search(query, options = {}) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/mongomapper_search/query.rb', line 3 def search(query, ={}) #Fix class search if first first.class.search(query, , self.criteria.source) else self end end |