Method: Clin::Text#text

Defined in:
lib/clin/text.rb

#text(text, indent: '') ⇒ Object

Add the content of another Clin::Text object

Parameters:

  • text (Clin::Text)
  • indent (String|Integer) (defaults to: '')

    Indent the content



96
97
98
# File 'lib/clin/text.rb', line 96

def text(text, indent: '')
  lines(text._lines, indent: indent)
end