lib/picky/generators/similarity_generator.rb in picky-2.7.0 vs lib/picky/generators/similarity_generator.rb in picky-3.0.0.pre1

- old
+ new

@@ -1,14 +1,18 @@ -module Generators +module Picky - # Uses no similarity as default. - # - class SimilarityGenerator < Base + module Generators - # Generate a similarity index based on the given inverted index. + # Uses no similarity as default. # - def generate strategy = Similarity::None.new - strategy.generate_from self.inverted + 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 end \ No newline at end of file