Skip to content

Commit 437020a

Browse files
authored
Merge pull request rails#27991 from kenta-s/fix-return-value-of-deprecate_methods-in-doc
Fix the return of `deprecate_methods` in doc [ci skip]
2 parents f06ee2a + 6f03227 commit 437020a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/deprecation/method_wrappers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module MethodWrapper
1818
#
1919
# Using the default deprecator:
2020
# ActiveSupport::Deprecation.deprecate_methods(Fred, :aaa, bbb: :zzz, ccc: 'use Bar#ccc instead')
21-
# # => [:aaa, :bbb, :ccc]
21+
# # => Fred
2222
#
2323
# Fred.aaa
2424
# # DEPRECATION WARNING: aaa is deprecated and will be removed from Rails 5.1. (called from irb_binding at (irb):10)

0 commit comments

Comments
 (0)