Sha256: 59ace93d02bd14ef2d559dd9ceeb9ddd4d7012352c856d3bc7adc80efa4f2881
Contents?: true
Size: 531 Bytes
Versions: 3
Compression:
Stored size: 531 Bytes
Contents
# encoding: utf-8 # module Indexers # # class Base # Selects the original id (indexed id) and a column to process. The column data is called "token". # # Note: Puts together the parts first in an array, then releasing the array from time to time by joining. # def index indexing_message process end # Delegates the key format to the source. # # Default is to_i. # def key_format source.respond_to?(:key_format) && source.key_format || :to_i end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
picky-2.3.0 | lib/picky/internals/indexers/base.rb |
picky-2.2.1 | lib/picky/internals/indexers/base.rb |
picky-2.2.0 | lib/picky/internals/indexers/base.rb |