Class: TraceViz::Collectors::Steps::ValidationStep

Inherits:
BaseStep
  • Object
show all
Defined in:
lib/trace_viz/collectors/steps/validation_step.rb

Instance Method Summary collapse

Methods included from Helpers::ConfigHelper

#config, #fetch_general_config

Methods included from Helpers::TrackingHelper

#active_call_stack, #current_call, #current_depth, #tracker

Constructor Details

#initializeValidationStep

Returns a new instance of ValidationStep.



10
11
12
13
# File 'lib/trace_viz/collectors/steps/validation_step.rb', line 10

def initialize
  super()
  @filters = build_filters.freeze
end

Instance Method Details

#call(trace_data) ⇒ Object



15
16
17
# File 'lib/trace_viz/collectors/steps/validation_step.rb', line 15

def call(trace_data)
  trace_data if pass?(trace_data)
end