class method
self.new
Ruby on Rails 4.2.9
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 38
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 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::DeprecatedObjectProxy