Sha256: e8c8d1ea3093b9b2c51fd7febe61f610bbe315f8e2c8955fa9fe570f0f6b0568
Contents?: true
Size: 419 Bytes
Versions: 4
Compression:
Stored size: 419 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 warning(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-0.5.0.alpha1 | lib/caravan/message.rb |
caravan-0.4.0 | lib/caravan/message.rb |
caravan-0.4.0.beta | lib/caravan/message.rb |
caravan-0.3.1 | lib/caravan/message.rb |