Class: Trailblazer::Activity::DSL::Linear::Normalizer::OutputTuples::Track
- Inherits:
-
Struct
- Object
- Struct
- Trailblazer::Activity::DSL::Linear::Normalizer::OutputTuples::Track
- Defined in:
- lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb
Overview
Connector when using Track(:success).
Instance Attribute Summary collapse
-
#adds ⇒ Object
Returns the value of attribute adds.
-
#color ⇒ Object
Returns the value of attribute color.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#adds ⇒ Object
Returns the value of attribute adds
19 20 21 |
# File 'lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb', line 19 def adds @adds end |
#color ⇒ Object
Returns the value of attribute color
19 20 21 |
# File 'lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb', line 19 def color @color end |
#options ⇒ Object
Returns the value of attribute options
19 20 21 |
# File 'lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb', line 19 def end |
Instance Method Details
#to_a ⇒ Object
20 21 22 23 24 |
# File 'lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb', line 20 def to_a(*) search_strategy = [:wrap_around] ? :WrapAround : :Forward return [Linear::Sequence::Search.method(search_strategy), color], adds end |