Sha256: 98cbb5236657cfb7a711ba70d8ed4b9f5f6db5a5f383201d70d5b4995ef5cae9

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

module Index

  #
  #
  class Base

    attr_reader :result_identifier,
                :combinator

    delegate :load_from_cache,
             :analyze,
             :reindex,
             :to => :categories

    alias reload load_from_cache

    # Return the possible combinations for this token.
    #
    # A combination is a tuple <token, index_bundle>.
    #
    # TODO Rename and delegate.
    #
    def possible_combinations token
      categories.possible_combinations_for token
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picky-2.7.0 lib/picky/index/base_indexed.rb