Class: Provisioner::Exit

Inherits:
Object
  • Object
show all
Defined in:
lib/provisioner/helper/exit.rb

Class Method Summary collapse

Class Method Details

.with_message(msg) ⇒ Object



3
4
5
6
7
# File 'lib/provisioner/helper/exit.rb', line 3

def self.with_message(msg)
  $stderr.puts "Error: #{msg}"
  $stderr.puts Provisioner::USAGE
  exit 1
end