lib/picky/query/token.rb in picky-0.12.3 vs lib/picky/query/token.rb in picky-1.0.0
- old
+ new
@@ -1,14 +1,15 @@
module Query
+
# This is a query token. Together with other tokens it makes up a query.
#
# 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
+ class Token # :nodoc:all
attr_reader :text, :original
attr_writer :similar
delegate :blank?, :to => :text
\ No newline at end of file