method

show_deprecation

rails latest stable - Class: Rails::Generators::PluginGenerator

Method deprecated or moved

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

show_deprecation()
public

No documentation available.

# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 9
      def show_deprecation
        return unless behavior == :invoke
        message = "Plugin generator is deprecated, please use 'rails plugin new' command to generate plugin structure."
        ActiveSupport::Deprecation.warn message
      end