Class: ThinkingSphinx::IndexingStrategies::AllAtOnce
- Inherits:
-
Object
- Object
- ThinkingSphinx::IndexingStrategies::AllAtOnce
- Defined in:
- lib/thinking_sphinx/indexing_strategies/all_at_once.rb
Class Method Summary collapse
Class Method Details
.call(indices = [], &block) ⇒ Object
4 5 6 7 8 |
# File 'lib/thinking_sphinx/indexing_strategies/all_at_once.rb', line 4 def self.call(indices = [], &block) indices << '--all' if indices.empty? block.call indices end |