Class: ActiveSupport::BasicObject

Inherits:
BasicObject
Defined in:
activesupport/lib/active_support/basic_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::BasicObject at least raise exceptions.



10
11
12
# File 'activesupport/lib/active_support/basic_object.rb', line 10

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