method

write_commands

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.

write_commands(commands)
private

No documentation available.

# File railties/lib/rails/commands/commands_tasks.rb, line 164
      def write_commands(commands)
        width = commands.map { |name, _| name.size }.max || 10
        commands.each { |command| printf(" %-#{width}s   %s\n", *command) }
      end