123456789_123456789_123456789_123456789_123456789_

Module: Rake::Backtrace

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: lib/rake/backtrace.rb

Constant Summary

Class Method Summary

Class Method Details

.collapse(backtrace)

[ GitHub ]

  
# File 'lib/rake/backtrace.rb', line 19

def self.collapse(backtrace)
  pattern = Rake.application.options.suppress_backtrace_pattern ||
            SUPPRESS_PATTERN
  backtrace.reject { |elem| elem =~ pattern }
end