Method: Commander::HelpFormatter.indent
- Defined in:
- lib/commander/help_formatters.rb
.indent(amount, text) ⇒ Object
9 10 11 |
# File 'lib/commander/help_formatters.rb', line 9 def indent amount, text text.gsub("\n", "\n" + (' ' * amount)) end |