method

new

rails latest stable - Class: Rails::Commands::Plugin

Method deprecated or moved

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

new()
public

No documentation available.

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