aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2018-02-24 07:01:55 +0900
committerGitHub <noreply@github.com>2018-02-24 07:01:55 +0900
commitddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b (patch)
treea1a7fbc8e3ca814252f764dd6900b11e2f23d080 /activesupport
parent222f90549a30d5a42091708ddbbda7cdba0cb132 (diff)
parentd7f11cee0327e4c7a437442e9653f60ae08e36cb (diff)
downloadrails-ddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b.tar.gz
rails-ddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b.tar.bz2
rails-ddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b.zip
Merge pull request #32093 from jfragoulis/correct-method-documentation
Correct method documentation
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/deprecation/behaviors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation/behaviors.rb b/activesupport/lib/active_support/deprecation/behaviors.rb
index 581db5f449..66d6f3225a 100644
--- a/activesupport/lib/active_support/deprecation/behaviors.rb
+++ b/activesupport/lib/active_support/deprecation/behaviors.rb
@@ -85,7 +85,7 @@ module ActiveSupport
# ActiveSupport::Deprecation.behavior = :stderr
# ActiveSupport::Deprecation.behavior = [:stderr, :log]
# ActiveSupport::Deprecation.behavior = MyCustomHandler
- # ActiveSupport::Deprecation.behavior = ->(message, callstack) {
+ # ActiveSupport::Deprecation.behavior = ->(message, callstack, deprecation_horizon, gem_name) {
# # custom stuff
# }
def behavior=(behavior)