diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-02-24 07:01:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-24 07:01:55 +0900 |
commit | ddb7da8535b07f51b7a8f5e3062cc8ffbd4ff23b (patch) | |
tree | a1a7fbc8e3ca814252f764dd6900b11e2f23d080 /activesupport/lib | |
parent | 222f90549a30d5a42091708ddbbda7cdba0cb132 (diff) | |
parent | d7f11cee0327e4c7a437442e9653f60ae08e36cb (diff) | |
download | rails-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/lib')
-rw-r--r-- | activesupport/lib/active_support/deprecation/behaviors.rb | 2 |
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) |