Methods

Commander::HelpFormatter

Help Formatter

Commander’s help formatters control the output when either the help command, or –help switch are called. The default formatter is Commander::HelpFormatter::Terminal.

Public Instance Methods

indent(amount, text) click to toggle source
# File lib/commander/help_formatters.rb, line 9
def indent amount, text
  text.gsub("\n", "\n" + (' ' * amount))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.