instance method
disallowed_behavior
Ruby on Rails 7.2.3
Since v6.1.7.10Signature
disallowed_behavior()
Returns the current behavior for disallowed deprecations or if one isn’t set, defaults to :raise.
Source
# File activesupport/lib/active_support/deprecation/behaviors.rb, line 79
def disallowed_behavior
@disallowed_behavior ||= [DEFAULT_BEHAVIORS[:raise]]
end
Defined in activesupport/lib/active_support/deprecation/behaviors.rb line 79
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation::Behavior