method
show_deprecation
rails latest stable - Class:
Rails::Generators::PluginGenerator
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