Class: Almicube::Selector::AllSelector
- Inherits:
-
Base
- Object
- Base
- Almicube::Selector::AllSelector
show all
- Defined in:
- lib/almicube/selector/all_selector.rb
Instance Attribute Summary
Attributes inherited from Base
#class_name
Attributes included from Cog
#ranking
Instance Method Summary
collapse
Methods inherited from Base
#before_aggregate, #initialize, #interstore
Methods included from Cog
#active?
Instance Method Details
#data_provider? ⇒ Boolean
13
14
15
|
# File 'lib/almicube/selector/all_selector.rb', line 13
def data_provider?
true
end
|
#label ⇒ Object
9
10
11
|
# File 'lib/almicube/selector/all_selector.rb', line 9
def label
:data
end
|
#records ⇒ Object
5
6
7
|
# File 'lib/almicube/selector/all_selector.rb', line 5
def records
ranking.class_name.all
end
|