Sha256: 66bcbd190e4e279544489ad69b2be773aba6106a81116dfd80f11d5edf8f3a04

Contents?: true

Size: 491 Bytes

Versions: 4

Compression:

Stored size: 491 Bytes

Contents

# encoding: utf-8
#
module Internals

  module Indexing # :nodoc:all

    module Bundle

      # The memory version dumps its generated indexes to disk
      # (mostly JSON) to load them into memory on startup.
      #
      class Memory < Base

        # We're using files for the memory backend.
        # E.g. dump writes files.
        #
        alias backend files

        def to_s
          <<-MEMORY
Memory
#{@backend.indented_to_s}
MEMORY
        end

      end

    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
picky-2.0.0.pre2 lib/picky/internals/indexing/bundle/memory.rb
picky-2.0.0.pre1 lib/picky/internals/indexing/bundle/memory.rb
picky-1.5.4 lib/picky/internals/indexing/bundle/memory.rb
picky-1.5.3 lib/picky/internals/indexing/bundle/memory.rb