Sha256: 51af7e194e220a24f7cfa5723b4b5532cb165972c6e913430a0722553f55736d

Contents?: true

Size: 975 Bytes

Versions: 10

Compression:

Stored size: 975 Bytes

Contents

module Internals
  module Indexed
    module Wrappers

      # Per Bundle wrappers.
      #
      module Bundle

        # Base wrapper. Just delegates all methods to the bundle.
        #
        class Wrapper

          attr_reader :bundle

          def initialize bundle
            @bundle = bundle
          end

          delegate :load,
                   :load_index,
                   :load_weights,
                   :load_similarity,
                   :load_configuration,
                   :clear_index,
                   :clear_weights,
                   :clear_similarity,
                   :clear_configuration,
                   :ids,
                   :weight,
                   :identifier,
                   :analyze,
                   :size,
                   :index,
                   :weights,
                   :similarity,
                   :configuration,
                   :to => :@bundle

        end

      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
picky-2.5.2 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.5.1 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.5.0 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.4.3 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.4.2 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.4.1 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.4.0 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.3.0 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.2.1 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-2.2.0 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb