class method
self.new
Ruby on Rails 4.2.9
Since v4.0.13Signature
self.new(old_const, new_const, deprecator = ActiveSupport::Deprecation.instance)
No documentation comment.
Parameters
-
old_constreq -
new_constreq -
deprecatoropt = ActiveSupport::Deprecation.instance
Source
# File activesupport/lib/active_support/deprecation/proxy_wrappers.rb, line 106
def initialize(old_const, new_const, deprecator = ActiveSupport::Deprecation.instance)
@old_const = old_const
@new_const = new_const
@deprecator = deprecator
end
Defined in activesupport/lib/active_support/deprecation/proxy_wrappers.rb line 106
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::DeprecatedConstantProxy