123456789_123456789_123456789_123456789_123456789_

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

Instance Method Details

#raise(*args)

Let ProxyObject at least raise exceptions.

[ GitHub ]

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

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