1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

Fix a typo in rdoc (*expect* for *except*)
This commit is contained in:
Claudio B. 2012-12-07 16:54:32 -08:00
parent fc6336d1be
commit e618adbcab

View file

@ -30,7 +30,7 @@ module ActiveSupport
# @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>