Method: Cmds#format

Defined in:
lib/cmds.rb

#format:squish | :pretty (readonly)

format specifier symbol:

  • :squish
    • collapse rendered command string to one line.
  • :pretty
    • clean up and backslash suffix line endings.

defaults to :squish.

Returns:

  • (:squish | :pretty)


126
127
128
# File 'lib/cmds.rb', line 126

def format
  @format
end