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



44
45
46
# File 'lib/trailblazer/activity/structures.rb', line 44

def semantic
  @semantic
end

#signalObject

Returns the value of attribute signal

Returns:

  • (Object)

    the current value of signal



44
45
46
# File 'lib/trailblazer/activity/structures.rb', line 44

def signal
  @signal
end