Class: ActiveSupport::Deprecation::DeprecatedConstantProxy
- Inherits:
-
DeprecationProxy
- Object
- DeprecationProxy
- ActiveSupport::Deprecation::DeprecatedConstantProxy
- Defined in:
- activesupport/lib/active_support/deprecation/proxy_wrappers.rb
Overview
:nodoc:
Instance Method Summary (collapse)
- - (Object) class
-
- (DeprecatedConstantProxy) initialize(old_const, new_const)
constructor
A new instance of DeprecatedConstantProxy.
Methods inherited from DeprecationProxy
Constructor Details
- (DeprecatedConstantProxy) initialize(old_const, new_const)
A new instance of DeprecatedConstantProxy
62 63 64 65 |
# File 'activesupport/lib/active_support/deprecation/proxy_wrappers.rb', line 62 def initialize(old_const, new_const) @old_const = old_const @new_const = new_const end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveSupport::Deprecation::DeprecationProxy
Instance Method Details
- (Object) class
67 68 69 |
# File 'activesupport/lib/active_support/deprecation/proxy_wrappers.rb', line 67 def class target.class end |