W3cubDocs

/Ruby on Rails 5.1

class ActiveSupport::ProxyObject

Parent:
BasicObject

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

Public Instance Methods

raise(*args) Show source

Let ActiveSupport::ProxyObject at least raise exceptions.

# File activesupport/lib/active_support/proxy_object.rb, line 9
def raise(*args)
  ::Object.send(:raise, *args)
end

© 2004–2017 David Heinemeier Hansson
Licensed under the MIT License.