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.



11
12
13
# File 'lib/active_support/proxy_object.rb', line 11

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