Class: Xspf2m3u::Help
- Inherits:
-
Object
- Object
- Xspf2m3u::Help
- Defined in:
- lib/xspf2m3u/help.rb
Overview
Help helpers :)
Constant Summary collapse
- PROG_BANNER =
Toplevel program’s banner.
"\n xspf -> m3u converter\n\n".gsub(/^ {4}/, '')
- GENERAL_USAGE =
Toplevel program’s usage message.
"\n xspf2m3u [task] [options]\n\n Converts xspf playlist file (-i option) to m3u playlist file (-o option).\n\n".gsub(/^ {4}/, '')
- EXAMPLE =
Usage example
"\n xspf2m3u -i 1.xspf -o 1.m3u\n\n".gsub(/^ {4}/, '')
Class Method Summary collapse
-
.general_message ⇒ Object
General help message.
Class Method Details
.general_message ⇒ Object
General help message.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/xspf2m3u/help.rb', line 33 def " Xspf2m3u:\n \#{PROG_BANNER}\n Usage:\n \#{GENERAL_USAGE}\n Example:\n \#{EXAMPLE}\n EOF\nend\n".gsub(/^ {8}/, '') |