Sha256: aaaaa8b5bed478a751fcb403cf5652d96adf6aed7722ef7e6ac24472218c3c24

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

module Generators

  # Uses no similarity as default.
  #
  class SimilarityGenerator < Base

    # Generate a similarity index based on the given inverted index.
    #
    def generate strategy = Similarity::None.new
      strategy.generate_from self.inverted
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picky-2.7.0 lib/picky/generators/similarity_generator.rb