method

collapse

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Backtrace

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

collapse(backtrace) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/backtrace.rb, line 17
    def self.collapse(backtrace)
      pattern = Rake.application.options.suppress_backtrace_pattern ||
                SUPPRESS_PATTERN
      backtrace.reject { |elem| elem =~ pattern }
    end
Register or log in to add new notes.