lib/clin/text.rb
# Add a line at the beginning of the text
# @param text [String] line to add
# @param indent [String|Integer] Indent the line with x spaces or the given text
Add a line at the beginning of the text
Add a line at the beginning of the text
def prefix(text, indent: '')
    l = process_line(text, indent: indent)
    @_lines.unshift l
    l
  end
def prefix ( text , indent : '' ) l = process_line ( text , indent : indent ) @_lines . unshift l l end
Add a line at the beginning of the text
Add a line at the beginning of the text
text
line to add
line to add
indent
Indent the line with x spaces or the given text
Indent the line with x spaces or the given text