class method
self.deprecation_caller_message
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v3.2.22.5 PrivateSignature
self.deprecation_caller_message(callstack)
No documentation comment.
Parameters
-
callstackreq
Source
# File activesupport/lib/active_support/deprecation/reporting.rb, line 41
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 41
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation