Class: ActiveSupport::ProxyObject

Inherits:
BasicObject
Defined in:
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 collapse

Instance Method Details

#raise(*args) ⇒ Object

Let ActiveSupport::ProxyObject at least raise exceptions.



9
10
11
# File 'lib/active_support/proxy_object.rb', line 9

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