Sha256: 000fdd181813dd0fb0c9aeeac3d62ed82819b7c64402eb30e7a9c0b9c36a72c0

Contents?: true

Size: 265 Bytes

Versions: 44

Compression:

Stored size: 265 Bytes

Contents

module Sunzi
  module Logger
    class << self
      def info(text)
        puts text.bright
      end

      def success(text)
        puts text.color(:green).bright
      end

      def error(text)
        puts text.color(:red).bright
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
sunzi-0.4.4 lib/sunzi/logger.rb
sunzi-0.4.3 lib/sunzi/logger.rb
sunzi-0.4.2 lib/sunzi/logger.rb
sunzi-0.4.1 lib/sunzi/logger.rb