Class: Statecraft::Machine::Edge

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

Instance Attribute Summary collapse

Instance Attribute Details

#edge_guards ⇒ Object

Returns the value of attribute edge_guards

Returns:

  • (Object) —

    the current value of edge_guards



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def edge_guards
  @edge_guards
end

#event_guards ⇒ Object

Returns the value of attribute event_guards

Returns:

  • (Object) —

    the current value of event_guards



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def event_guards
  @event_guards
end

#event_names ⇒ Object

Returns the value of attribute event_names

Returns:

  • (Object) —

    the current value of event_names



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def event_names
  @event_names
end

#from ⇒ Object

Returns the value of attribute from

Returns:

  • (Object) —

    the current value of from



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def from
  @from
end

#lock ⇒ Object

Returns the value of attribute lock

Returns:

  • (Object) —

    the current value of lock



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def lock
  @lock
end

#to ⇒ Object

Returns the value of attribute to

Returns:

  • (Object) —

    the current value of to



10
11
12
# File 'lib/statecraft/machine.rb', line 10

def to
  @to
end