method

new

rails latest stable - Class: Rails::CommandsTasks

Method deprecated or moved

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

new()
public

No documentation available.

# File railties/lib/rails/commands/commands_tasks.rb, line 107
    def new
      if %(-h --help).include?(argv.first)
        require_command!("application")
      else
        exit_with_initialization_warning!
      end
    end