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.19.5 lib/picky/backends/memory.rb
picky-4.19.4 lib/picky/backends/memory.rb
picky-4.19.3 lib/picky/backends/memory.rb
picky-4.19.2 lib/picky/backends/memory.rb
picky-4.19.1 lib/picky/backends/memory.rb
picky-4.19.0 lib/picky/backends/memory.rb
picky-4.18.0 lib/picky/backends/memory.rb
picky-4.17.1 lib/picky/backends/memory.rb
picky-4.17.0 lib/picky/backends/memory.rb
picky-4.16.0 lib/picky/backends/memory.rb
picky-4.15.1 lib/picky/backends/memory.rb
picky-4.15.0 lib/picky/backends/memory.rb
picky-4.14.0 lib/picky/backends/memory.rb
picky-4.13.1 lib/picky/backends/memory.rb
picky-4.13.0 lib/picky/backends/memory.rb
picky-4.12.13 lib/picky/backends/memory.rb
picky-4.12.12 lib/picky/backends/memory.rb
picky-4.12.11 lib/picky/backends/memory.rb
picky-4.12.10 lib/picky/backends/memory.rb
picky-4.12.8 lib/picky/backends/memory.rb