Sha256: f6c227c5b70c798bae2a289c5bd49a84633522f2c350ce78ba2b6e6611f6909a
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
module Vidar class Log class << self def line puts "|" + "-" * 142 + "|" end def info(text, fill_with = "#") puts ColorizedString["#{fill_with} #{text} ".ljust(124, fill_with)].colorize(:light_green) end def error(text, fill_with = "#") puts ColorizedString["#{fill_with} #{text} ".ljust(124, fill_with)].colorize(:light_red) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vidar-1.1.4 | lib/vidar/log.rb |
vidar-1.1.3 | lib/vidar/log.rb |