Top Level Namespace

Defined Under Namespace

Classes: Epzip

Instance Method Summary collapse

Instance Method Details

#error_and_exit(msg) ⇒ Object



7
8
9
10
# File 'bin/epzip', line 7

def error_and_exit(msg)
  STDERR.puts msg
  exit
end

#usageObject



12
13
14
# File 'bin/epzip', line 12

def usage()
    error_and_exit "usage: epzip <srcdir> [filename]"
end