instance method
behavior=
Ruby on Rails 7.2.3
Since v7.1.6Signature
behavior=(behavior)
Sets the deprecation warning behavior for all deprecators in this collection.
See ActiveSupport::Deprecation#behavior=.
Parameters
-
behaviorreq
Source
# File activesupport/lib/active_support/deprecation/deprecators.rb, line 60
def behavior=(behavior)
set_option(:behavior, behavior)
end
Defined in activesupport/lib/active_support/deprecation/deprecators.rb line 60
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::Deprecators