Permalink
Browse files

rename private method to avoid overriding

  • Loading branch information...
1 parent 9b496d3 commit 3675cd41f3133ca61b9c5cb13c0cfccab63b2b56 Francesco Rodriguez committed Oct 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/backtrace_cleaner.rb
@@ -34,7 +34,7 @@ def initialize
# 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 @@ def remove_filters!
end
private
- def filter(backtrace)
+ def filter_backtrace(backtrace)
@filters.each do |f|
backtrace = backtrace.map { |line| f.call(line) }
end

0 comments on commit 3675cd4

Please sign in to comment.