Skip to content
This repository
tag: v4.12.11
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (12 sloc) 0.277 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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
Something went wrong with that request. Please try again.