method
deprecation_caller_message
v2.1.0 -
Show latest stable
- Class:
ActiveSupport::Deprecation
deprecation_caller_message(callstack)private
No documentation available.
# File activesupport/lib/active_support/deprecation.rb, line 58
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