Sha256: 54d04d093523d93266f1ce62a50e841fa476c6ca0f8ce0f629bb62dfc0a4316e
Contents?: true
Size: 462 Bytes
Versions: 14
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Helmsnap::Console extend self def print(stream, msg) stream.print(msg) end def info(stream, msg) msg = ColorizedString[msg].colorize(:light_yellow) stream.puts(msg) end def warning(stream, msg) msg = ColorizedString["WARNING: #{msg}"].colorize(:light_blue) stream.puts(msg) end def error(stream, msg) msg = ColorizedString[msg].colorize(:light_red) stream.puts(msg) end end
Version data entries
14 entries across 14 versions & 1 rubygems