method

behavior=

rails latest stable - Class: ActiveSupport::Deprecation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

behavior=(behavior)
public

Sets the behavior to the specified value. Can be a single value or an array.

Examples

ActiveSupport::Deprecation.behavior = :stderr
ActiveSupport::Deprecation.behavior = [:stderr, :log]