class Vidar::Log
Public Class Methods
error(text, fill_with = "
click to toggle source
# File lib/vidar/log.rb, line 12 def error(text, fill_with = "#") puts ColorizedString["#{fill_with} #{text} ".ljust(124, fill_with)].colorize(:light_red) end
info(text, fill_with = "
click to toggle source
# File lib/vidar/log.rb, line 8 def info(text, fill_with = "#") puts ColorizedString["#{fill_with} #{text} ".ljust(124, fill_with)].colorize(:light_green) end
line()
click to toggle source
# File lib/vidar/log.rb, line 4 def line puts "|#{'-' * 142}|" end