Sha256: ddadf7b70338c145f03726ee422518e515506b53bb5b015987b65d58f584493f
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
caravan-0.6.2 | lib/caravan/message.rb |
caravan-0.6.1 | lib/caravan/message.rb |
caravan-0.6.0 | lib/caravan/message.rb |
caravan-0.5.2 | lib/caravan/message.rb |
caravan-0.5.1 | lib/caravan/message.rb |