Class: ActiveSupport::Deprecation::DeprecatedConstantProxy
- Inherits:
-
DeprecationProxy
- Object
- DeprecationProxy
- ActiveSupport::Deprecation::DeprecatedConstantProxy
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/deprecation.rb
Overview
:nodoc:
Instance Method Summary collapse
- #class ⇒ Object
-
#initialize(old_const, new_const) ⇒ DeprecatedConstantProxy
constructor
A new instance of DeprecatedConstantProxy.
Methods inherited from DeprecationProxy
Constructor Details
#initialize(old_const, new_const) ⇒ DeprecatedConstantProxy
Returns a new instance of DeprecatedConstantProxy.
199 200 201 202 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/deprecation.rb', line 199 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
#class ⇒ Object
204 205 206 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/deprecation.rb', line 204 def class target.class end |