class Object

Public Instance Methods

help_and_exit() click to toggle source
# 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