class method
self.new
Ruby on Rails 6.0.6
Since v2.2.3Signature
self.new(object, message, deprecator = ActiveSupport::Deprecation.instance)
No documentation comment.
Parameters
-
objectreq -
messagereq -
deprecatoropt = ActiveSupport::Deprecation.instance
Source
# File activesupport/lib/active_support/deprecation/proxy_wrappers.rb, line 40
def initialize(object, message, deprecator = ActiveSupport::Deprecation.instance)
@object = object
@message = message
@deprecator = deprecator
end
Defined in activesupport/lib/active_support/deprecation/proxy_wrappers.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::DeprecatedObjectProxy