Class: ActiveSupport::Deprecation::DeprecatedObjectProxy

Inherits:
DeprecationProxy show all
Defined in:
activesupport/lib/active_support/deprecation/proxy_wrappers.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from DeprecationProxy

#inspect, new

Constructor Details

#initialize(object, message) ⇒ DeprecatedObjectProxy

Returns a new instance of DeprecatedObjectProxy.



29
30
31
32
# File 'activesupport/lib/active_support/deprecation/proxy_wrappers.rb', line 29

def initialize(object, message)
  @object = object
  @message = message
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveSupport::Deprecation::DeprecationProxy