Class: Provisioner::Exit
- Inherits:
-
Object
- Object
- Provisioner::Exit
- 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.(msg) $stderr.puts "Error: #{msg}" $stderr.puts Provisioner::USAGE exit 1 end |