Top Level Namespace

Defined Under Namespace

Modules: Spark

Constant Summary collapse

Help =
<<-HELP
A text graphing utility
USAGE:
  sparkdraw VALUE1, VALUE2, ..., VALUEx
OPTIONS:
  -h, --help   display help text and exit
EXAMPLES:
  sparkdraw 4,6,8,7,3
  ▂▅█▆▁

  sparkdraw 2 4 8 16 32 64 128
  ▁▁▁▁▂▄█

  echo 2 4 8 16 32 64 128 | sparkdraw
  ▁▁▁▁▂▄█
HELP

Instance Method Summary collapse

Instance Method Details

#show_help(status = 1) ⇒ Object



26
27
28
29
# File 'bin/sparkdraw', line 26

def show_help(status = 1)
  puts Help
  exit(status)
end