Class: Automaton::Latex::Transition
- Inherits:
-
Struct
- Object
- Struct
- Automaton::Latex::Transition
- Defined in:
- lib/latex.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#label ⇒ Object
Returns the value of attribute label.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
49 50 51 |
# File 'lib/latex.rb', line 49 def from @from end |
#label ⇒ Object
Returns the value of attribute label
49 50 51 |
# File 'lib/latex.rb', line 49 def label @label end |
#to ⇒ Object
Returns the value of attribute to
49 50 51 |
# File 'lib/latex.rb', line 49 def to @to end |
Instance Method Details
#to_s ⇒ Object
50 51 52 |
# File 'lib/latex.rb', line 50 def to_s "\\EdgeL{#{from}}{#{to}}{#{label}}" end |