Sha256: cd29822f7328506f41aca665652acff260b83603cb1fde61e00853b2340513ec

Contents?: true

Size: 411 Bytes

Versions: 33

Compression:

Stored size: 411 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

33 entries across 33 versions & 1 rubygems

Version Path
vidar-1.13.4 lib/vidar/log.rb
vidar-1.13.3 lib/vidar/log.rb
vidar-1.13.2 lib/vidar/log.rb
vidar-1.13.1 lib/vidar/log.rb
vidar-1.13.0 lib/vidar/log.rb
vidar-1.13.0.rc1 lib/vidar/log.rb
vidar-1.12.1 lib/vidar/log.rb
vidar-1.12.0 lib/vidar/log.rb
vidar-1.11.0 lib/vidar/log.rb
vidar-1.10.0 lib/vidar/log.rb
vidar-1.9.4 lib/vidar/log.rb
vidar-1.9.3 lib/vidar/log.rb
vidar-1.9.2 lib/vidar/log.rb
vidar-1.9.1 lib/vidar/log.rb
vidar-1.9.0 lib/vidar/log.rb
vidar-1.8.0 lib/vidar/log.rb
vidar-1.8.0.rc4 lib/vidar/log.rb
vidar-1.7.0 lib/vidar/log.rb
vidar-1.6.0 lib/vidar/log.rb
vidar-1.5.4 lib/vidar/log.rb