instance method
extract_callstack
Ruby on Rails 6.0.6
Since v4.0.13 PrivateSignature
extract_callstack(callstack)
No documentation comment.
Parameters
-
callstackreq
Source
# File activesupport/lib/active_support/deprecation/reporting.rb, line 84
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
Defined in activesupport/lib/active_support/deprecation/reporting.rb line 84
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::Reporting