lib/language/atom/any.rb in language-ruby-0.6.0 vs lib/language/atom/any.rb in language-ruby-0.6.1
- old
+ new
@@ -1,8 +1,15 @@
# frozen_string_literal: true
class Language
class Atom
class Any < Atom
+ def parse(parser)
+ parser.consume(1)
+ end
+
+ def to_s
+ "any"
+ end
end
end
end