instance method
warn
Ruby on Rails edge
Since v4.0.13 Private — implementation detail, not part of the public APISignature
warn(callstack, called, *args, **kwargs)
No documentation comment.
Parameters
-
callstackreq -
calledreq -
argsrest -
kwargskeyrest
Source
# File activesupport/lib/active_support/deprecation/proxy_wrappers.rb, line 109
def warn(callstack, called, *args, **kwargs)
args << kwargs unless kwargs.empty?
@deprecator.warn("#{@var} is deprecated! Call #{@method}.#{called} instead of #{@var}.#{called}. Args: #{args.inspect}", callstack)
end
Defined in activesupport/lib/active_support/deprecation/proxy_wrappers.rb line 109
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy