aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/deprecation
diff options
context:
space:
mode:
authorkenta-s <knt01222@gmail.com>2017-02-14 09:24:05 +0900
committerkenta-s <knt01222@gmail.com>2017-02-14 09:24:05 +0900
commit6f032275c953cdd2c37ea7ece6fbc687bcd22fb3 (patch)
treeb175dc745dfb628dd734d4a778cf878fbaf4e19f /activesupport/lib/active_support/deprecation
parentf06ee2a703e8cd7c18f70642f3d1d15a43eeb7ce (diff)
downloadrails-6f032275c953cdd2c37ea7ece6fbc687bcd22fb3.tar.gz
rails-6f032275c953cdd2c37ea7ece6fbc687bcd22fb3.tar.bz2
rails-6f032275c953cdd2c37ea7ece6fbc687bcd22fb3.zip
Fix the return of `deprecate_methods` in doc [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/deprecation')
-rw-r--r--activesupport/lib/active_support/deprecation/method_wrappers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation/method_wrappers.rb b/activesupport/lib/active_support/deprecation/method_wrappers.rb
index 7655fa4f99..930d71e8d2 100644
--- a/activesupport/lib/active_support/deprecation/method_wrappers.rb
+++ b/activesupport/lib/active_support/deprecation/method_wrappers.rb
@@ -18,7 +18,7 @@ module ActiveSupport
#
# Using the default deprecator:
# ActiveSupport::Deprecation.deprecate_methods(Fred, :aaa, bbb: :zzz, ccc: 'use Bar#ccc instead')
- # # => [:aaa, :bbb, :ccc]
+ # # => Fred
#
# Fred.aaa
# # DEPRECATION WARNING: aaa is deprecated and will be removed from Rails 5.1. (called from irb_binding at (irb):10)