Sha256: 868e3fc7a43b5ac7e49fcc047143401885bb487b2f1795f5fbb5fdee2e1d2bb5
Contents?: true
Size: 655 Bytes
Versions: 16
Compression:
Stored size: 655 Bytes
Contents
module Picky # # class Index delegate :load, :analyze, :reindex, :possible_combinations, :to => :categories # TODO Remove in 4.0. # alias reload load # 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
16 entries across 16 versions & 1 rubygems