Module: Hyperion::Indices
- Included in:
- Hyperion
- Defined in:
- lib/hyperion/indices.rb
Defined Under Namespace
Classes: NoIndex
Instance Method Summary collapse
Instance Method Details
#hyperion_index(index) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/hyperion/indices.rb', line 6 def hyperion_index(index) if class_variable_defined?(:@@redis_indexes) then class_variable_set(:@@redis_indexes, class_variable_get(:@@redis_indexes) << index) else class_variable_set(:@@redis_indexes, [index]) end end |
#reindex! ⇒ Object
14 15 16 |
# File 'lib/hyperion/indices.rb', line 14 def reindex! # TODO end |