Sha256: 13678536f3c4460503d90e4a81d012250a6a92791c5f97bdd511b9d9beca4d42
Contents?: true
Size: 453 Bytes
Versions: 9
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'colorize' class String def paint_white colorize(:white).colorize(background: :black).colorize(mode: :bold) end def paint_red colorize(:red).colorize(background: :black).colorize(mode: :bold) end def paint_green colorize(:green).colorize(background: :black).colorize(mode: :bold) end def paint_yellow colorize(:yellow).colorize(background: :black).colorize(mode: :bold) end end
Version data entries
9 entries across 9 versions & 1 rubygems