Sha256: 431ffa5c9fd27c9c49583a3692eff4e5e3f34bd9188a60e1e4d4be58a715f379
Contents?: true
Size: 742 Bytes
Versions: 6
Compression:
Stored size: 742 Bytes
Contents
module Picky class Indexes # # class Index attr_reader :combinator delegate :load_from_cache, :analyze, :reindex, :possible_combinations, :to => :categories alias reload load_from_cache # Define how the results of this index are identified. # (Shown in the client, for example) # # Default is the name of the index. # def result_identifier result_identifier = nil result_identifier ? define_result_identifier(result_identifier) : (@result_identifier || @name) end def define_result_identifier result_identifier @result_identifier = result_identifier end end end end
Version data entries
6 entries across 6 versions & 1 rubygems