method

parse_command

rails latest stable - Class: Rails::Engine::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/engine/commands_tasks.rb, line 94
        def parse_command(command)
          case command
          when '--version', '-v'
            'version'
          when '--help', '-h'
            'help'
          else
            command
          end
        end