Sha256: f490a5a021bdf9992fc2419aac6d4dad9e0874468d364e86bc58b28635da85ef

Contents?: true

Size: 183 Bytes

Versions: 5

Compression:

Stored size: 183 Bytes

Contents

# FIXME
module ThinkingSphinx
  class Search
  end
end

module SearchAsArray
  def ===(object)
    object.is_a?(ThinkingSphinx::Search) || super
  end
end

Array.extend SearchAsArray

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinking-sphinx-2.0.2 lib/thinking_sphinx/core/array.rb
thinking-sphinx-2.0.1 lib/thinking_sphinx/core/array.rb
thinking-sphinx-2.0.0 lib/thinking_sphinx/core/array.rb
thinking-sphinx-2.0.0.rc2 lib/thinking_sphinx/core/array.rb
thinking-sphinx-2.0.0.rc1 lib/thinking_sphinx/core/array.rb