Sha256: a3c604f39ea9617e14962cc5b8686c16acc7e599c76f270ecdcd8c0db32199b4

Contents?: true

Size: 277 Bytes

Versions: 46

Compression:

Stored size: 277 Bytes

Contents

module Picky

  module Backends

    class Memory < Backend
      
      def create_weights bundle
        JSON.new bundle.index_path(:weights)
      end
      
      def create_similarity bundle
        Marshal.new bundle.index_path(:similarity)
      end

    end

  end

end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
picky-4.12.7 lib/picky/backends/memory.rb
picky-4.12.6 lib/picky/backends/memory.rb
picky-4.12.5 lib/picky/backends/memory.rb
picky-4.12.4 lib/picky/backends/memory.rb
picky-4.12.3 lib/picky/backends/memory.rb
picky-4.12.2 lib/picky/backends/memory.rb