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:
parent
fc6336d1be
commit
e618adbcab
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue