module Parslet::Graphable
Public Instance Methods
graph(opts)
click to toggle source
# File lib/parslet/graphviz.rb, line 84 def graph opts g = GraphViz.new(:G, type: :digraph) visitor = GraphvizVisitor.new(g) new.accept(visitor) g.output opts end