class RegularExpression::NFA::StartState

Public Instance Methods

to_dot(graph, visited) click to toggle source
Calls superclass method RegularExpression::NFA::State#to_dot
# File lib/regular_expression/nfa.rb, line 40
def to_dot(graph, visited)
  super(graph, visited).tap do |node|
    node.attributes.merge!(label: "Start", shape: "box")
  end
end