Sha256: 218f1d13f2226cbd72e0933c18fa2356df0a3fda9d73adf1ea1fa4a17b1fb79b

Contents?: true

Size: 982 Bytes

Versions: 22

Compression:

Stored size: 982 Bytes

Contents

module Picky

  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_inverted,
                   :load_weights,
                   :load_similarity,
                   :load_configuration,
                   :clear_inverted,
                   :clear_weights,
                   :clear_similarity,
                   :clear_configuration,
                   :ids,
                   :weight,
                   :identifier,
                   :analyze,
                   :size,
                   :inverted,
                   :weights,
                   :similarity,
                   :configuration,
                   :to => :@bundle

        end

      end

    end
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
picky-3.2.0 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.13 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.12 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.11 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.10 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.9 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.8 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.7 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.6 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.5 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.4 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.3 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.2 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.1 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.1.0 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.0.1 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.0.0 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.0.0.pre5 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.0.0.pre4 lib/picky/indexed/wrappers/bundle/wrapper.rb
picky-3.0.0.pre3 lib/picky/indexed/wrappers/bundle/wrapper.rb