Class: Automaton::Latex::Initial

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



37
38
39
# File 'lib/latex.rb', line 37

def name
  @name
end

Instance Method Details

#to_sObject



38
39
40
# File 'lib/latex.rb', line 38

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