Permalink
Browse files

Merge pull request #7862 from frodsan/rename_private_method

rename private method to avoid overriding
  • Loading branch information...
2 parents 9b496d3 + 3675cd4 commit 05e9258164658b1fd948311e9d075f5d7a60cbdb @spastorino spastorino committed Oct 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/backtrace_cleaner.rb
View
4 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 05e9258

Please sign in to comment.