123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::Routing::Mapper::BacktraceCleaner

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: ActiveSupport::BacktraceCleaner
Defined in: actionpack/lib/action_dispatch/routing/mapper.rb

Constant Summary

::ActiveSupport::BacktraceCleaner - Inherited

FORMATTED_GEMS_PATTERN

Class Method Summary

Instance Method Summary

::ActiveSupport::BacktraceCleaner - Inherited

#add_filter

Adds a filter from the block provided.

#add_silencer

Adds a silencer from the block provided.

#clean

Returns the backtrace after all filters and silencers have been run against it.

#clean_frame

Returns the frame with all filters applied.

#clean_locations

Given an array of ::Thread::Backtrace::Location objects, returns an array with the clean ones:

#filter
#first_clean_frame

Returns the first clean frame of the caller’s backtrace, or nil.

#first_clean_location

Returns the first clean location of the caller’s call stack, or nil.

#remove_filters!

Removes all filters, but leaves in the silencers.

#remove_silencers!

Removes all silencers, but leaves in the filters.

#add_core_silencer, #add_gem_filter, #add_gem_silencer, #add_stdlib_silencer, #filter_backtrace, #initialize_copy, #noise, #silence

Constructor Details

.newBacktraceCleaner

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 16

def initialize
  super
  remove_silencers!
  add_core_silencer
  add_stdlib_silencer
end