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.



166
167
168
169
# File 'lib/active_support/deprecation.rb', line 166

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