Module: Trailblazer::Developer::Debugger::Normalizer

Defined in:
lib/trailblazer/developer/debugger/normalizer.rb

Overview

Run at runtime when preparing a Trace::Nodes for presentation.

Defined Under Namespace

Modules: Default

Constant Summary collapse

PIPELINES =

we do mutate this constant at compile-time. Maybe # DISCUSS and find a better way.

[Activity::TaskWrap::Pipeline.new(default_steps)]

Class Method Summary collapse

Class Method Details

.Task(user_step) ⇒ Object

TODO: we could keep this in the activity gem.



20
21
22
# File 'lib/trailblazer/developer/debugger/normalizer.rb', line 20

def self.Task(user_step) # TODO: we could keep this in the {activity} gem.
  Activity::TaskWrap::Pipeline::TaskAdapter.for_step(user_step, option: false) # we don't need Option as we don't have ciruit_options here, and no {:exec_context}
end