Module: Rails::Console::BacktraceCleaner

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

Instance Method Summary collapse

Instance Method Details

#filter_backtrace(bt) ⇒ Object



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

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