Sha256: 1a538fdef235ce0608ac3e0892fbd850a9596ae0ef38639e0e8a45b2bd80d279

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

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, :ids, :weight, :identifier, :to => :@bundle
        
      end
      
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
picky-1.5.2 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-1.5.1 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-1.5.0 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-1.4.3 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb
picky-1.4.2 lib/picky/internals/indexed/wrappers/bundle/wrapper.rb