Class: Trailblazer::Activity::Output

Inherits:
Struct
  • Object
show all
Defined in:
lib/trailblazer/activity/structures.rb

Overview

signal: actual signal emitted by the task color: the mapping, where this signal will travel to. This can be e.g. Left=>:success. The polarization when building the graph.

"i am traveling towards :success because ::step said so!"

semantic: the original “semantic” or role of the signal, such as :success. This usually comes from the activity hosting this output.

Instance Attribute Summary collapse

Instance Attribute Details

#semanticObject

Returns the value of attribute semantic

Returns:

  • (Object)

    the current value of semantic



46
47
48
# File 'lib/trailblazer/activity/structures.rb', line 46

def semantic
  @semantic
end

#signalObject

Returns the value of attribute signal

Returns:

  • (Object)

    the current value of signal



46
47
48
# File 'lib/trailblazer/activity/structures.rb', line 46

def signal
  @signal
end