method

deprecation_warning

rails latest stable - Class: Rails::Command::NotesCommand

Method deprecated or moved

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

deprecation_warning()
private

No documentation available.

# File railties/lib/rails/commands/notes/notes_command.rb, line 29
        def deprecation_warning
          return if source_annotation_directories.empty?
          ActiveSupport::Deprecation.warn("`SOURCE_ANNOTATION_DIRECTORIES` is deprecated and will be removed in Rails 6.1. You can add default directories by using config.annotations.register_directories instead.")
        end