Sha256: 6531c1400840aca3ff2d1ef84b76939176ae1b67835077262cc35989b1279665
Contents?: true
Size: 321 Bytes
Versions: 22
Compression:
Stored size: 321 Bytes
Contents
# Aruba module Aruba # Simple colorizer class. Only supports the color cyan class Colorizer class << self attr_accessor :coloring alias coloring? coloring end def cyan(string) if self.class.coloring? "\e[36m#{string}\e[0m" else string end end end end
Version data entries
22 entries across 22 versions & 3 rubygems