aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/backtrace_cleaner.rb
diff options
context:
space:
mode:
authorkenta-s <knt01222@gmail.com>2017-01-22 19:19:13 +0900
committerkenta-s <knt01222@gmail.com>2017-01-22 19:19:13 +0900
commitd1c546ff2a539b6d7321cfa5a3e4db9577b0cb94 (patch)
tree5b54fc54be1b42c3b97cd2afc4f970b9a1462796 /activesupport/lib/active_support/backtrace_cleaner.rb
parentfb5bd3c6f2f29c3ed370e82db0d3de52a97a0648 (diff)
downloadrails-d1c546ff2a539b6d7321cfa5a3e4db9577b0cb94.tar.gz
rails-d1c546ff2a539b6d7321cfa5a3e4db9577b0cb94.tar.bz2
rails-d1c546ff2a539b6d7321cfa5a3e4db9577b0cb94.zip
Add module name to BacktraceCleaner usage example [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/backtrace_cleaner.rb')
-rw-r--r--activesupport/lib/active_support/backtrace_cleaner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb
index 169a58ecd1..e47c90597f 100644
--- a/activesupport/lib/active_support/backtrace_cleaner.rb
+++ b/activesupport/lib/active_support/backtrace_cleaner.rb
@@ -12,7 +12,7 @@ module ActiveSupport
# is to exclude the output of a noisy library from the backtrace, so that you
# can focus on the rest.
#
- # bc = BacktraceCleaner.new
+ # bc = ActiveSupport::BacktraceCleaner.new
# bc.add_filter { |line| line.gsub(Rails.root.to_s, '') } # strip the Rails.root prefix
# bc.add_silencer { |line| line =~ /puma|rubygems/ } # skip any lines from puma or rubygems
# bc.clean(exception.backtrace) # perform the cleanup