Class: Honeybadger::TraceCleaner::ActionView

Inherits:
Base
  • Object
show all
Defined in:
lib/honeybadger/trace.rb

Constant Summary collapse

EmptyReplacement =
"".freeze

Instance Attribute Summary

Attributes inherited from Base

#event

Instance Method Summary collapse

Methods inherited from Base

#initialize, #payload, #render?, #to_a, #to_h

Constructor Details

This class inherits a constructor from Honeybadger::TraceCleaner::Base

Instance Method Details

#to_sObject



189
190
191
# File 'lib/honeybadger/trace.rb', line 189

def to_s
  event.payload[:identifier].to_s.gsub(::Rails.root.to_s + '/', EmptyReplacement)
end