lib/antelope/ace/precedence.rb in antelope-0.1.8 vs lib/antelope/ace/precedence.rb in antelope-0.1.9

- old
+ new

@@ -47,9 +47,13 @@ else 0 end end + # Converts the precedence into a representative string, denoting + # the type and the level. + # + # @return [String] def to_s "#{type.to_s[0]}#{level}" end end end