Sha256: 2a8812e2a575466fcc8c520ac26a56563f7b10574d7a0b396081a7d799ea8aab

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

module Vidar
  class Log
    class << self
      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

5 entries across 5 versions & 1 rubygems

Version Path
vidar-0.2.1 lib/vidar/log.rb
vidar-0.2.0 lib/vidar/log.rb
vidar-0.1.6 lib/vidar/log.rb
vidar-0.1.5 lib/vidar/log.rb
vidar-0.1.4 lib/vidar/log.rb