Module: Popo::Error

Defined in:
lib/popo/error.rb

Class Method Summary collapse

Class Method Details

.say(message, subitem = false) ⇒ Object



3
4
5
6
# File 'lib/popo/error.rb', line 3

def self.say(message, subitem = false)
  puts "#{subitem ? "   ->" : "Error:"} #{message}".red
  exit(-1)
end