Flowdock
method

extract_callstack

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Reporting
extract_callstack(callstack) private

No documentation

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

Hide source
# File activesupport/lib/active_support/deprecation/reporting.rb, line 127
        def extract_callstack(callstack)
          return _extract_callstack(callstack) if callstack.first.is_a? String

          offending_line = callstack.find { |frame|
            frame.absolute_path && !ignored_callstack(frame.absolute_path)
          } || callstack.first

          [offending_line.path, offending_line.lineno, offending_line.label]
        end
Register or log in to add new notes.