Module: Booker::Output

Included in:
CLI, Installer
Defined in:
lib/booker/output.rb

Overview

print a message and stop, for the cli and the installer both reporting a failure and exiting in one breath. stderr, not stdout: stdout is the data channel the completion scripts read

Instance Method Summary collapse

Instance Method Details

#pexit(msg, sig = 1) ⇒ Object



28
29
30
31
# File 'lib/booker/output.rb', line 28

def pexit(msg, sig = 1)
  warn msg
  exit sig
end