method
first_clean_location
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::BacktraceCleaner
first_clean_location(kind = :silent)public
Returns the first clean location of the caller’s call stack, or nil.
Locations are Thread::Backtrace::Location objects. Since they are immutable, their path attributes are the original ones, but filters are applied internally so silencers can still rely on them.