Class: TraceViz::Collectors::TracePipelineBuilder
- Inherits:
-
Object
- Object
- TraceViz::Collectors::TracePipelineBuilder
- Defined in:
- lib/trace_viz/collectors/trace_pipeline_builder.rb
Class Method Summary collapse
Class Method Details
.build ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/trace_viz/collectors/trace_pipeline_builder.rb', line 10 def build TracePipeline.new.tap do |pipeline| pipeline.add_step(Steps::ValidationStep.new) # # Those actions require access to the current call, # so it needs to be run before current call is updated # pipeline.add_step(Steps::BuildHierarchyStep.new) pipeline.add_step(Steps::LinkingStep.new) pipeline.add_step(Steps::AssignDepthForCallStep.new) pipeline.add_step(Steps::AssignDepthForReturnStep.new) pipeline.add_step(Steps::HiddenStep.new) end end |