Method: ActiveSupport::Deprecation::Behavior#disallowed_behavior
- Defined in:
- lib/active_support/deprecation/behaviors.rb
#disallowed_behavior ⇒ Object
Returns the current behavior for disallowed deprecations or if one isn’t set, defaults to :raise.
79 80 81 |
# File 'lib/active_support/deprecation/behaviors.rb', line 79 def disallowed_behavior @disallowed_behavior ||= [DEFAULT_BEHAVIORS[:raise]] end |