Module: Rails::Console::BacktraceCleaner

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

Instance Method Summary collapse

Instance Method Details

#filter_backtrace(bt) ⇒ Object



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

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