Class: Fiona7::SearchEngine
- Inherits:
-
Object
- Object
- Fiona7::SearchEngine
show all
- Defined in:
- lib/fiona7/search_engine.rb
Instance Method Summary
collapse
Constructor Details
#initialize(klass, query, offset, limit, sort, order) ⇒ SearchEngine
Returns a new instance of SearchEngine.
3
4
5
6
7
8
9
10
|
# File 'lib/fiona7/search_engine.rb', line 3
def initialize(klass, query, offset, limit, sort, order)
@klass = klass
@query = query
@offset, @limit = offset, limit
@sort, @order = sort, order
@count = 0
end
|
Instance Method Details
#objects ⇒ Object
20
21
22
|
# File 'lib/fiona7/search_engine.rb', line 20
def objects
raise "Not implemented"
end
|
#results ⇒ Object
16
17
18
|
# File 'lib/fiona7/search_engine.rb', line 16
def results
raise "Not implemented"
end
|
#total ⇒ Object
12
13
14
|
# File 'lib/fiona7/search_engine.rb', line 12
def total
@count
end
|