Class: TraceViz::Collectors::Matchers::WithinDepthMatcher

Inherits:
Object
  • Object
show all
Includes:
Helpers::ConfigHelper
Defined in:
lib/trace_viz/collectors/matchers/within_depth_matcher.rb

Instance Method Summary collapse

Methods included from Helpers::ConfigHelper

#config, #fetch_general_config

Instance Method Details

#matches?(depth) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/trace_viz/collectors/matchers/within_depth_matcher.rb', line 12

def matches?(depth)
  depth <= max_depth
end