Sha256: 441b41b6333bdd6edc9a9dd00c804dd2e0e5a1fb5126d7a4768b01deac345988
Contents?: true
Size: 343 Bytes
Versions: 5
Compression:
Stored size: 343 Bytes
Contents
module Commander module HelpFormatter autoload :Base, 'commander/help_formatters/base' autoload :Terminal, 'commander/help_formatters/terminal' autoload :TerminalCompact, 'commander/help_formatters/terminal_compact' module_function def indent amount, text text.gsub("\n", "\n" + (' ' * amount)) end end end
Version data entries
5 entries across 5 versions & 1 rubygems