Active Support 代理对象
一个没有预定义方法的类,其行为类似于 Builder 的 BlankSlate。用于代理类。
方法
- R
实例公共方法
raise(*args) 链接
让 ActiveSupport::ProxyObject
至少引发异常。
来源:显示 | 在 GitHub 上
# File activesupport/lib/active_support/proxy_object.rb, line 13 def raise(*args) ::Object.send(:raise, *args) end