Sha256: 7420efe8bc5ea523fd6a785f4db77e00d1e828bd6ed8ebc695e3cbf0d8c1204a

Contents?: true

Size: 165 Bytes

Versions: 5

Compression:

Stored size: 165 Bytes

Contents

class ThinkingSphinx::IndexingStrategies::AllAtOnce
  def self.call(indices = [], &block)
    indices << '--all' if indices.empty?

    block.call indices
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/indexing_strategies/all_at_once.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/indexing_strategies/all_at_once.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/indexing_strategies/all_at_once.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/indexing_strategies/all_at_once.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/indexing_strategies/all_at_once.rb