Sha256: 22621bb82b7d55a04813094ceff30a4532e215c7fbd95f8e06754aa02b52c08d

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

module Niso
  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

3 entries across 3 versions & 1 rubygems

Version Path
niso-2.0.6 lib/niso/logger.rb
niso-2.0.4 lib/niso/logger.rb
niso-2.0.3 lib/niso/logger.rb