lib/picky/internals/query/token.rb in picky-1.5.2 vs lib/picky/internals/query/token.rb in picky-1.5.3

- old
+ new

@@ -6,12 +6,10 @@ # # It remembers the original form, and and a normalized form. # # It also knows whether it needs to look for similarity (bla~), or whether it is a partial (bla*). # - # TODO Make partial / similarity char configurable. - # class Token # :nodoc:all attr_reader :text, :original attr_writer :similar @@ -176,11 +174,9 @@ def to_result [@original, @text] end # Internal identifier. - # - # TODO Uh. # def identifier "#{similar?? :similarity : :index}:#{@text}" end \ No newline at end of file