instance method show_deprecation

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.1.12

Signature

show_deprecation()

No documentation comment.

Source
# 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

Defined in railties/lib/rails/generators/rails/plugin/plugin_generator.rb line 9 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::PluginGenerator

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close