Class: Statecraft::Machine::Edge

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

Overview

edge_guards / event_guards carry the FULL lists of both layers in record-then-input order — execution and the prediction run them as one sequence. The parallel *_record_guards fields hold only the record layer; nothing but the offering introspection reads them.

Instance Attribute Summary collapse

Instance Attribute Details

#edge_guardsObject

Returns the value of attribute edge_guards

Returns:

  • (Object)

    the current value of edge_guards



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def edge_guards
  @edge_guards
end

#edge_record_guardsObject

Returns the value of attribute edge_record_guards

Returns:

  • (Object)

    the current value of edge_record_guards



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def edge_record_guards
  @edge_record_guards
end

#event_guardsObject

Returns the value of attribute event_guards

Returns:

  • (Object)

    the current value of event_guards



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def event_guards
  @event_guards
end

#event_namesObject

Returns the value of attribute event_names

Returns:

  • (Object)

    the current value of event_names



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def event_names
  @event_names
end

#event_record_guardsObject

Returns the value of attribute event_record_guards

Returns:

  • (Object)

    the current value of event_record_guards



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def event_record_guards
  @event_record_guards
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def from
  @from
end

#lockObject

Returns the value of attribute lock

Returns:

  • (Object)

    the current value of lock



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def lock
  @lock
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



14
15
16
# File 'lib/statecraft/machine.rb', line 14

def to
  @to
end