method

print_wrapped

ruby latest stable - Class: Bundler::Thor::Shell::Basic

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

print_wrapped(message, options = {})
public

Prints a long string, word-wrapping the text to the current width of the terminal display. Ideal for printing heredocs.

Parameters

String

Options

indent

Indent each line of the printed paragraph by indent value.