Sha256: 23531c77582183c7e534dd33fb2ce8b839d2bbfd400f39477be4c06b4723e584

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

module Searchlogic
  module CoreExt
    module Proc # :nodoc:
      def self.included(klass)
        klass.class_eval do
          attr_accessor :searchlogic_options
          
          def searchlogic_options
            @searchlogic_options ||= {}
            @searchlogic_options[:type] ||= :string
            @searchlogic_options
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rd_searchlogic-3.0.1 lib/searchlogic/core_ext/proc.rb
rd_searchlogic-3.0.0 lib/searchlogic/core_ext/proc.rb
rd_searchlogic-3.0.0.rc4 lib/searchlogic/core_ext/proc.rb
rd_searchlogic-3.0.0.rc3 lib/searchlogic/core_ext/proc.rb
rd_searchlogic-3.0.0.rc2 lib/searchlogic/core_ext/proc.rb
rd_searchlogic-3.0.0.rc lib/searchlogic/core_ext/proc.rb