In Files

  • rake/backtrace.rb

Methods

Rake::Backtrace

Public Class Methods

collapse(backtrace) click to toggle source
 
               # File rake/backtrace.rb, line 12
def self.collapse(backtrace)
  pattern = Rake.application.options.suppress_backtrace_pattern ||
            SUPPRESS_PATTERN
  backtrace.reject { |elem| elem =~ pattern }
end