lib/dentaku/token.rb in dentaku-1.2.6 vs lib/dentaku/token.rb in dentaku-2.0.0
- old
+ new
@@ -14,9 +14,13 @@
def length
raw_value.to_s.length
end
+ def grouping?
+ is?(:grouping)
+ end
+
def is?(c)
category == c
end
def ==(other)