Sha256: 00b24799ea7e42e419d970e33d623647e9fed868c0c6c8656c0bb78dc2bd94e3

Contents?: true

Size: 315 Bytes

Versions: 24

Compression:

Stored size: 315 Bytes

Contents

module Internals

  module Generators

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

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

    end

  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
picky-2.5.2 lib/picky/internals/generators/similarity_generator.rb
picky-2.5.1 lib/picky/internals/generators/similarity_generator.rb
picky-2.5.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.4.3 lib/picky/internals/generators/similarity_generator.rb
picky-2.4.2 lib/picky/internals/generators/similarity_generator.rb
picky-2.4.1 lib/picky/internals/generators/similarity_generator.rb
picky-2.4.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.3.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.2.1 lib/picky/internals/generators/similarity_generator.rb
picky-2.2.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.1.2 lib/picky/internals/generators/similarity_generator.rb
picky-2.1.1 lib/picky/internals/generators/similarity_generator.rb
picky-2.1.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.0.0 lib/picky/internals/generators/similarity_generator.rb
picky-2.0.0.pre3 lib/picky/internals/generators/similarity_generator.rb
picky-2.0.0.pre2 lib/picky/internals/generators/similarity_generator.rb
picky-2.0.0.pre1 lib/picky/internals/generators/similarity_generator.rb
picky-1.5.4 lib/picky/internals/generators/similarity_generator.rb
picky-1.5.3 lib/picky/internals/generators/similarity_generator.rb
picky-1.5.2 lib/picky/internals/generators/similarity_generator.rb