Sha256: 0b28ee89413e1b774a443f2eaefb1cedca7652fb3e1754d8881433ab7dcb8bea
Contents?: true
Size: 380 Bytes
Versions: 11
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true require 'rainbow' class String def paint_white Rainbow(self).white.bg(:black).bold end def paint_red Rainbow(self).red.bg(:black).bold end def paint_green Rainbow(self).green.bg(:black).bold end def paint_yellow Rainbow(self).yellow.bg(:black).bold end def paint_highlight Rainbow(self).underline end end
Version data entries
11 entries across 11 versions & 1 rubygems