Module: Tracee::Extensions::ActiveSupport::BacktraceCleaner
- Defined in:
- lib/tracee/ext/active_support.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.prepended ⇒ Object
7 8 9 10 11 |
# File 'lib/tracee/ext/active_support.rb', line 7 def self.prepended(*) if defined? Rails Rails.backtrace_cleaner.add_silencer {|line| line =~ IGNORE_RE} end end |
Instance Method Details
#decorate(backtrace, kind = :silent) ⇒ Object
13 14 15 |
# File 'lib/tracee/ext/active_support.rb', line 13 def decorate(backtrace, kind=:silent) Stack::BaseDecorator.(super) end |