class method self.deprecation_caller_message

Ruby on Rails 3.2.22.5

Since v3.0.20 Last seen in v3.2.22.5 Private

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

self.deprecation_caller_message(callstack)

No documentation comment.

Parameters

callstack req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close