lib/picky/generators/partial_generator.rb in picky-2.6.0 vs lib/picky/generators/partial_generator.rb in picky-2.7.0

- old
+ new

@@ -1,14 +1,14 @@ module Generators # The partial generator uses a subtoken(downto:1) generator as default. # class PartialGenerator < Base - - # Generate a partial index based on the given index. + + # Generate a partial index based on the given inverted index. # def generate strategy = Partial::Substring.new(from: 1) - strategy.generate_from self.index + strategy.generate_from self.inverted end end end \ No newline at end of file