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
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 |
| #filter | Alias for ActiveSupport::BacktraceCleaner#clean. |
| #first_clean_frame | Returns the first clean frame of the caller’s backtrace, or |
| #first_clean_location | Returns the first clean location of the caller’s call stack, or |
| #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
.new ⇒ BacktraceCleaner
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 16
def initialize super remove_silencers! add_core_silencer add_stdlib_silencer end