Sha256: 8d9f7ee66cea1193b920bb59ea40b0fbe5dff31e2426ed515119c48f52526451
Contents?: true
Size: 674 Bytes
Versions: 28
Compression:
Stored size: 674 Bytes
Contents
module Picky # # 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
Version data entries
28 entries across 28 versions & 1 rubygems