method
extract_callstack
v2.1.0 -
Show latest stable
- Class:
ActiveSupport::Deprecation
extract_callstack(callstack)private
No documentation available.
# File activesupport/lib/active_support/deprecation.rb, line 69
def extract_callstack(callstack)
if md = callstack.first.match(/^(.+?):(\d+)(?::in `(.*?)')?/)
md.captures
else
callstack.first
end
end