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 all layers in record-plain-input order — execution and the prediction run them as one sequence. The parallel *_record_guards fields hold only the record layer (read by the offering introspection); the *_input_guards fields hold only the marked input layer (read by the question surface to refuse a question asked without metadata).

Instance Attribute Summary collapse

Instance Attribute Details

#edge_guardsObject

Returns the value of attribute edge_guards

Returns:

  • (Object)

    the current value of edge_guards



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def edge_guards
  @edge_guards
end

#edge_input_guardsObject

Returns the value of attribute edge_input_guards

Returns:

  • (Object)

    the current value of edge_input_guards



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def edge_input_guards
  @edge_input_guards
end

#edge_record_guardsObject

Returns the value of attribute edge_record_guards

Returns:

  • (Object)

    the current value of edge_record_guards



16
17
18
# File 'lib/statecraft/machine.rb', line 16

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



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def event_guards
  @event_guards
end

#event_input_guardsObject

Returns the value of attribute event_input_guards

Returns:

  • (Object)

    the current value of event_input_guards



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def event_input_guards
  @event_input_guards
end

#event_namesObject

Returns the value of attribute event_names

Returns:

  • (Object)

    the current value of event_names



16
17
18
# File 'lib/statecraft/machine.rb', line 16

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



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def event_record_guards
  @event_record_guards
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def from
  @from
end

#lockObject

Returns the value of attribute lock

Returns:

  • (Object)

    the current value of lock



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def lock
  @lock
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def to
  @to
end