Module: Rails::Console::BacktraceCleaner

Defined in:
lib/rails/commands/console/console_command.rb

Instance Method Summary collapse

Instance Method Details

#filter_backtrace(bt) ⇒ Object



9
10
11
12
13
# File 'lib/rails/commands/console/console_command.rb', line 9

def filter_backtrace(bt)
  if result = super
    Rails.backtrace_cleaner.filter([result]).first
  end
end