instance method behavior=

Ruby on Rails 8.0.4

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

behavior=(behavior)

Sets the deprecation warning behavior for all deprecators in this collection.

See ActiveSupport::Deprecation#behavior=.

Parameters

behavior req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close