lib/picky/query/tokens.rb in picky-3.4.3 vs lib/picky/query/tokens.rb in picky-3.5.0
- old
+ new
@@ -59,9 +59,15 @@
combinations << possible_combinations
end
end
end
+ # Symbolizes each of the tokens.
+ #
+ def symbolize
+ @tokens.each &:symbolize!
+ end
+
# Makes the last of the tokens partial.
#
def partialize_last
@tokens.last.partial = true unless empty?
end
\ No newline at end of file