module Sunzi::Utility

Public Instance Methods

abort_with(text) click to toggle source
# File lib/sunzi/utility.rb, line 3
def abort_with(text)
  Logger.error text
  abort
end
exit_with(text) click to toggle source
# File lib/sunzi/utility.rb, line 8
def exit_with(text)
  Logger.success text
  exit
end
say(text) click to toggle source
# File lib/sunzi/utility.rb, line 13
def say(text)
  Logger.info text
end