Module
Cri::CoreExtensions::String
In:
lib/cri/core_ext/string.rb
Methods
wrap_and_indent
Public Instance methods
wrap_and_indent
(width, indentation)
Word-wraps and indents the string.
width
:
The maximal width of each line. This also includes indentation, i.e. the actual maximal width of the text is width-indentation.
indentation
:
The number of spaces to indent each wrapped line.
[Validate]