Class: Airbrake::Rails::BacktraceCleaner
- Inherits:
-
Object
- Object
- Airbrake::Rails::BacktraceCleaner
- Defined in:
- lib/airbrake/rails/backtrace_cleaner.rb
Overview
BacktraceCleaner is a wrapper around Rails.backtrace_cleaner.
Constant Summary collapse
- AIRBRAKE_FRAME_PATTERN =
%r{/airbrake/lib/airbrake/}.freeze
Class Method Summary collapse
Class Method Details
.clean(backtrace) ⇒ Object
10 11 12 |
# File 'lib/airbrake/rails/backtrace_cleaner.rb', line 10 def self.clean(backtrace) ::Rails.backtrace_cleaner.clean(backtrace).first(1) end |