method

parse_command

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.

parse_command(command)
private

No documentation available.

# File railties/lib/rails/commands/commands_tasks.rb, line 169
      def parse_command(command)
        case command
        when '--version', '-v'
          'version'
        when '--help', '-h'
          'help'
        else
          command
        end
      end