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