W3cubDocs

/Ruby on Rails 7.0

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
# File activesupport/lib/active_support/proxy_object.rb, line 11
def raise(*args)
  ::Object.send(:raise, *args)
end

Let ActiveSupport::ProxyObject at least raise exceptions.

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