Class: ActiveSupport::ProxyObject
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | BasicObject |
Defined in: | activesupport/lib/active_support/proxy_object.rb |
Class Method Summary
Instance Method Summary
-
#raise(*args)
Let
ProxyObject
at least raise exceptions.
Class Method Details
.inherited(_subclass)
[ GitHub ]# File 'activesupport/lib/active_support/proxy_object.rb', line 13
def self.inherited(_subclass) ::ActiveSupport.deprecator.warn(<<~MSG) ActiveSupport::ProxyObject is deprecated and will be removed in Rails 8.0. Use Ruby's built-in BasicObject instead. MSG end
Instance Method Details
#raise(*args)
Let ProxyObject
at least raise exceptions.
# File 'activesupport/lib/active_support/proxy_object.rb', line 9
def raise(*args) ::Object.send(:raise, *args) end