lib/clin/text.rb
# Indent all the content inside this block.
# @param indent [String|Integer] indent value
# @param block [Proc] Callback.
Indent all the content inside this block.
Indent all the content inside this block .
def indent(indent, &block)
    previous_indent = @global_indent
    @global_indent += compute_indent(indent)
    block.call(self)
    @global_indent = previous_indent
  end
def indent ( indent , & block ) previous_indent = @global_indent @global_indent += compute_indent ( indent ) block . call ( self ) @global_indent = previous_indent end
Indent all the content inside this block.
Indent all the content inside this block .
indent
None
block
None