Parent

Methods

Journey::Visitors::Dot

Public Class Methods

new() click to toggle source
# File lib/journey/visitors.rb, line 124
def initialize
  @nodes = []
  @edges = []
end

Public Instance Methods

accept(node) click to toggle source
# File lib/journey/visitors.rb, line 129
def accept node
  super
  digraph parse_tree {  size="8,5"  node [shape = none];  edge [dir = none];  #{@nodes.join "\n"}  #{@edges.join("\n")}}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.