Top Level Namespace

Includes:
Curses

Defined Under Namespace

Classes: Party

Instance Method Summary collapse

Instance Method Details

#help_and_exitObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/party.rb', line 3

def help_and_exit
  puts <<~EOF
      party [--silent] [-f "farewell"] [-w "words" -w "in" -w "rectangle"...] ["Things", "To", "Say"]

      -h, --help:
        show help

      -f [greeting], --farewell [greeting]:
        says greeting at the end, or "I had a great time" by default

      -s, --silent:
        start a silent party (without MC)
        EOF
    exit()
end