class Object

Public Instance Methods

abort_with(text) click to toggle source
# File lib/sunzi/core_ext.rb, line 2
def abort_with(text)
  abort text.color(:red).bright
end
exit_with(text) click to toggle source
# File lib/sunzi/core_ext.rb, line 6
def exit_with(text)
  puts text.color(:green).bright
  exit
end