Class: RegularExpression::NFA::StartState
- Defined in:
- lib/regular_expression/nfa.rb
Instance Attribute Summary
Attributes inherited from State
Instance Method Summary collapse
Methods inherited from State
Constructor Details
This class inherits a constructor from RegularExpression::NFA::State
Instance Method Details
#to_dot(graph, visited) ⇒ Object
40 41 42 43 44 |
# 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 |