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.26.2 lib/picky/backends/memory.rb
picky-4.26.1 lib/picky/backends/memory.rb
picky-4.26.0 lib/picky/backends/memory.rb
picky-4.25.3 lib/picky/backends/memory.rb
picky-4.25.2 lib/picky/backends/memory.rb
picky-4.25.1 lib/picky/backends/memory.rb
picky-4.25.0 lib/picky/backends/memory.rb
picky-4.24.0 lib/picky/backends/memory.rb
picky-4.23.2 lib/picky/backends/memory.rb
picky-4.23.1 lib/picky/backends/memory.rb
picky-4.23.0 lib/picky/backends/memory.rb
picky-4.22.0 lib/picky/backends/memory.rb
picky-4.21.2 lib/picky/backends/memory.rb
picky-4.21.1 lib/picky/backends/memory.rb
picky-4.21.0 lib/picky/backends/memory.rb
picky-4.20.2 lib/picky/backends/memory.rb
picky-4.20.1 lib/picky/backends/memory.rb
picky-4.20.0 lib/picky/backends/memory.rb
picky-4.19.7 lib/picky/backends/memory.rb
picky-4.19.6 lib/picky/backends/memory.rb