lib/sequitur/dynamic_grammar.rb in sequitur-0.1.17 vs lib/sequitur/dynamic_grammar.rb in sequitur-0.1.18
- old
+ new
@@ -27,11 +27,9 @@
@start = Production.new
@productions = [ start ]
@trace = false
end
- public
-
# Emit a text representation of the grammar.
# Each production rule is emitted per line.
# @return [String]
def to_string()
rule_text = productions.map(&:to_string).join("\n")