Sha256: 0971cb124561f16f3bcea11d1a420f788dcf58655c8bf6221630ed5ae1814fbb

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

module Picky

  module Wrappers

    module Bundle

      module Delegator

        delegate :inverted,
                 :weights,
                 :similarity,
                 :configuration,

                 :backup,
                 :restore,
                 :delete,

                 :raise_unless_cache_exists,
                 :raise_unless_index_exists,
                 :raise_unless_similarity_exists,

                 :similar,

                 :to => :bundle

      end

      module IndexingDelegator

        delegate :[]=,
                 :analyze,
                 :dump,
                 :empty,
                 :empty_configuration,
                 :generate_caches_from_memory,
                 :generate_caches_from_source,
                 :generate_partial_from,
                 :retrieve,
                 :size,
                 :to => :bundle

      end

      module IndexedDelegator

        delegate :[],
                 :clear,
                 :clear_inverted,
                 :clear_weights,
                 :clear_similarity,
                 :clear_configuration,
                 :identifier,
                 :ids,
                 :load,
                 :load_inverted,
                 :load_weights,
                 :load_similarity,
                 :load_configuration,
                 :name,
                 :weight,
                 :to => :bundle

      end

    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picky-3.3.0 lib/picky/wrappers/bundle/delegators.rb