Sha256: 89cd0fe5f9433654d684ff37f17f69311c361856719300ebda1a4170afdb2d58
Contents?: true
Size: 411 Bytes
Versions: 4
Compression:
Stored size: 411 Bytes
Contents
require "colorize" module Caravan module Message class << self def debug(msg) puts "[DEBUG] #{msg}".light_black end def info(msg) puts "[INFO] #{msg}" end def error(msg) puts "[ERROR] #{msg}".red end def warn(msg) puts "[WARN] #{msg}".yellow end def success(msg) puts msg.green end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
caravan-1.0.0 | lib/caravan/message.rb |
caravan-1.0.0.beta2 | lib/caravan/message.rb |
caravan-1.0.0.beta1 | lib/caravan/message.rb |
caravan-0.7.0 | lib/caravan/message.rb |