Method: Contrast::Agent::Reporting::FindingEventStack#initialize

Defined in:
lib/contrast/agent/reporting/reporting_events/finding_event_stack.rb

#initialize(file_name) ⇒ FindingEventStack

To play nice with the way that TeamServer is rendering these values, we only populate the file_name field with exactly what we want them to display.

Parameters:

  • file_name (String)

    the caller location this stack frame represents.



35
36
37
38
# File 'lib/contrast/agent/reporting/reporting_events/finding_event_stack.rb', line 35

def initialize file_name
  @file = file_name
  super()
end