blob: 1f4300bc6e0d521960d7d04ad76747acb0467ef5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
* Add ActiveSupport::Deprecation::DeprecatedConstantAccessor
Provides transparent deprecation of constants, compatible with exceptions.
Example usage:
module Example
include ActiveSupport::Deprecation::DeprecatedConstantAccessor
deprecate_constant 'OldException', 'Elsewhere::NewException'
end
*Dominic Cleal*
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activesupport/CHANGELOG.md) for previous changes.
|