aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-06 00:49:27 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-06 00:49:27 -0500
commit3675cd41f3133ca61b9c5cb13c0cfccab63b2b56 (patch)
treecce0e6f7b735a1b382a7be352387d028e045c09b /activesupport
parent9b496d3147260e9b5bf3993626cf0ebd138ea83a (diff)
downloadrails-3675cd41f3133ca61b9c5cb13c0cfccab63b2b56.tar.gz
rails-3675cd41f3133ca61b9c5cb13c0cfccab63b2b56.tar.bz2
rails-3675cd41f3133ca61b9c5cb13c0cfccab63b2b56.zip
rename private method to avoid overriding
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/backtrace_cleaner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb
index 47898f8047..f1aff8a8e3 100644
--- a/activesupport/lib/active_support/backtrace_cleaner.rb
+++ b/activesupport/lib/active_support/backtrace_cleaner.rb
@@ -34,7 +34,7 @@ module ActiveSupport
# Returns the backtrace after all filters and silencers have been run
# against it. Filters run first, then silencers.
def clean(backtrace, kind = :silent)
- filtered = filter(backtrace)
+ filtered = filter_backtrace(backtrace)
case kind
when :silent
@@ -77,7 +77,7 @@ module ActiveSupport
end
private
- def filter(backtrace)
+ def filter_backtrace(backtrace)
@filters.each do |f|
backtrace = backtrace.map { |line| f.call(line) }
end