Sha256: b8a16e37960f7306208aa38b9593a34c18870a729aaaf07e0e732baaa71a9c1a

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

class ThinkingSphinx::Controller < Riddle::Controller
  def index(*indices)
    options = indices.extract_options!
    indices << '--all' if indices.empty?

    ThinkingSphinx::Guard::Files.call(indices) do |names|
      super(*(names + [options]))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thinking-sphinx-3.1.4 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.1.3 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.1.2 lib/thinking_sphinx/controller.rb