class Aruba::Colorizer

Simple colorizer class. Only supports the color cyan

Attributes

coloring[RW]
coloring?[RW]

Public Instance Methods

cyan(string) click to toggle source
# File lib/aruba/colorizer.rb, line 11
def cyan(string)
  if self.class.coloring?
    "\e[36m#{string}\e[0m"
  else
    string
  end
end