method

new

rails latest stable - Class: Commands::Plugin

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.

new()
public

No documentation available.

# File railties/lib/rails/commands/plugin.rb, line 280
    def initialize
      @environment = RailsEnvironment.default
      @rails_root = RailsEnvironment.default.root
      @script_name = File.basename($0)
    end