Class: ActiveSupport::Deprecation::DeprecatedObjectProxy

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

Instance Method Summary collapse

Methods inherited from DeprecationProxy

#inspect

Constructor Details

#initialize(object, message) ⇒ DeprecatedObjectProxy

Returns a new instance of DeprecatedObjectProxy.



141
142
143
144
# File 'lib/active_support/deprecation.rb', line 141

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