class Bake::ExitHelper

Public Class Methods

exit(val) click to toggle source
# File lib/common/exit_helper.rb, line 18
def self.exit(val)
  @@exit_code = val
  Kernel::exit
end
exit_code() click to toggle source
# File lib/common/exit_helper.rb, line 10
def self.exit_code()
  @@exit_code
end
reset_exit_code() click to toggle source
# File lib/common/exit_helper.rb, line 14
def self.reset_exit_code()
  @@exit_code = 0
end
set_exit_code(val) click to toggle source
# File lib/common/exit_helper.rb, line 6
def self.set_exit_code(val)
  @@exit_code = val
end