Class: ActiveSupport::ProxyObject
- 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.
Direct Known Subclasses
Instance Method Summary collapse
-
#raise(*args) ⇒ Object
Let ActiveSupport::ProxyObject at least raise exceptions.
Instance Method Details
#raise(*args) ⇒ Object
Let ActiveSupport::ProxyObject at least raise exceptions.
9 10 11 |
# File 'activesupport/lib/active_support/proxy_object.rb', line 9 def raise(*args) ::Object.send(:raise, *args) end |