method
write_commands
rails latest stable - Class:
Rails::CommandsTasks
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