Sha256: fe130df957ffe4549ba30fa98cce60ca56a6d8a298c4ebc57f602b2dbcaae355

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module Mongoid
  module FTS
    class Raw < ::Array
      attr_accessor :_search
      attr_accessor :_text
      attr_accessor :_limit
      attr_accessor :_models

      def initialize(_searches, options = {})
        replace(_searches)
      ensure
        options.each{|k, v| send("#{ k }=", v)}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-fts-2.0.0 lib/mongoid-fts/raw.rb