Class: ActiveSupport::ProxyObject
Relationships & Source Files | |
Inherits: | BasicObject |
Defined in: | activesupport/lib/active_support/proxy_object.rb |
Overview
A class with no predefined methods that behaves similarly to Builder’s BlankSlate. Used for proxy classes.
Instance Method Summary
-
#raise(*args)
Let
ProxyObject
at least raise exceptions.
Instance Method Details
#raise(*args)
Let ProxyObject
at least raise exceptions.
# File 'activesupport/lib/active_support/proxy_object.rb', line 13
def raise(*args) ::Object.send(:raise, *args) end