instance method
deprecation_caller_message
Ruby on Rails 8.0.4
Since v4.0.13 PrivateSignature
deprecation_caller_message(callstack)
No documentation comment.
Parameters
-
callstackreq
Source
# File activesupport/lib/active_support/deprecation/reporting.rb, line 129
def deprecation_caller_message(callstack)
file, line, method = extract_callstack(callstack)
if file
if line && method
"(called from #{method} at #{file}:#{line})"
else
"(called from #{file}:#{line})"
end
end
end
Defined in activesupport/lib/active_support/deprecation/reporting.rb line 129
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::Reporting