class ThinkingSphinx::IndexingStrategies::AllAtOnce

Public Class Methods

call(indices = [], &block) click to toggle source
# File lib/thinking_sphinx/indexing_strategies/all_at_once.rb, line 2
def self.call(indices = [], &block)
  indices << '--all' if indices.empty?

  block.call indices
end