提交 e618adbc 编写于 作者: C Claudio B.

Update activesupport/lib/active_support/deprecation/proxy_wrappers.rb

Fix a typo in rdoc (*expect* for *except*)
上级 fc6336d1
......@@ -30,7 +30,7 @@ def method_missing(called, *args, &block)
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!")
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!", deprecator_instance)
#
# When someone execute any method expect +inspect+ on proxy object this will
# When someone executes any method except +inspect+ on proxy object this will
# trigger +warn+ method on +deprecator_instance+.
#
# Default deprecator is <tt>ActiveSupport::Deprecation</tt>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册