Class: Automaton::Latex::Final

Inherits:
Struct
  • Object
show all
Defined in:
lib/latex.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



55
56
57
# File 'lib/latex.rb', line 55

def name
  @name
end

Instance Method Details

#to_sObject



56
57
58
# File 'lib/latex.rb', line 56

def to_s
  "\\Final{#{name}}"
end