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



11
12
13
14
15
# File 'railties/lib/rails/commands/console/console_command.rb', line 11

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