diff options
author | Prem Sichanugrist <s@sikac.hu> | 2018-03-22 13:02:43 +0000 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2018-03-22 17:06:15 +0000 |
commit | 92dac547fdf073e034c11a452d3b965a38a0f948 (patch) | |
tree | ae6c2590b5a3653dc1f8ca41c99c1a509beb16fc /railties/lib/rails | |
parent | 1638d3c075f6e2139ff7ae63c8a666068e1ae5e5 (diff) | |
download | rails-92dac547fdf073e034c11a452d3b965a38a0f948.tar.gz rails-92dac547fdf073e034c11a452d3b965a38a0f948.tar.bz2 rails-92dac547fdf073e034c11a452d3b965a38a0f948.zip |
Add deprecation note for SourceAnnotationExtractor
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/source_annotation_extractor.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 9fa2de2e54..73bee5bcbf 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -1,5 +1,12 @@ # frozen_string_literal: true +require "active_support/deprecation" + +# Remove this deprecated class in the next minor version +#:nodoc: +SourceAnnotationExtractor = ActiveSupport::Deprecation::DeprecatedConstantProxy. + new("SourceAnnotationExtractor", "Rails::SourceAnnotationExtractor") + module Rails # Implements the logic behind the rake tasks for annotations like # |