lib/picky/query/or.rb in picky-4.19.4 vs lib/picky/query/or.rb in picky-4.19.5
- old
+ new
@@ -22,22 +22,9 @@
combinations = @tokens.inject([]) do |result, token|
result + token.possible_combinations(categories)
end
combinations.empty? && combinations || [Query::Combination::Or.new(combinations)]
end
-
- # # Returns the token in the form
- # # ['original:Text', 'processedtext']
- # #
- # def to_result
- # [originals.join('|'), texts.join('|')]
- # end
-
- # # Just join the token original texts.
- # #
- # def to_s
- # "#{self.class}(#{originals.join '|'})"
- # end
end
end
\ No newline at end of file