Class: Automaton::Transition

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

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



167
168
169
# File 'lib/automaton.rb', line 167

def from
  @from
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



167
168
169
# File 'lib/automaton.rb', line 167

def label
  @label
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



167
168
169
# File 'lib/automaton.rb', line 167

def to
  @to
end