Class: ActiveSupport::ProxyObject

Inherits:
BasicObject
Defined in:
lib/active_support/proxy_object.rb

Overview

Active Support Proxy Object

A class with no predefined methods that behaves similarly to Builder’s BlankSlate. Used for proxy classes.

Instance Method Summary collapse

Instance Method Details

#raise(*args) ⇒ Object

Let ActiveSupport::ProxyObject at least raise exceptions.



13
14
15
# File 'lib/active_support/proxy_object.rb', line 13

def raise(*args)
  ::Object.send(:raise, *args)
end