aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-13 21:44:35 -0300
committerGitHub <noreply@github.com>2017-02-13 21:44:35 -0300
commit437020aa6dd4bae19706628daab6725fcb786a45 (patch)
treeb175dc745dfb628dd734d4a778cf878fbaf4e19f /activesupport/lib/active_support
parentf06ee2a703e8cd7c18f70642f3d1d15a43eeb7ce (diff)
parent6f032275c953cdd2c37ea7ece6fbc687bcd22fb3 (diff)
downloadrails-437020aa6dd4bae19706628daab6725fcb786a45.tar.gz
rails-437020aa6dd4bae19706628daab6725fcb786a45.tar.bz2
rails-437020aa6dd4bae19706628daab6725fcb786a45.zip
Merge pull request #27991 from kenta-s/fix-return-value-of-deprecate_methods-in-doc
Fix the return of `deprecate_methods` in doc [ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-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)