method

new

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

Method deprecated or moved

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

new(*args)
public

No documentation available.

# File railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb, line 178
      def initialize(*args)
        raise Error, "Options should be given after the plugin name. For details run: rails plugin new --help" if args[0].blank?

        @dummy_path = nil
        super
      end