module GreenHat::Color

Looping in GreenHat to allow disabling of Color

Public Class Methods

decorate(args) click to toggle source
# File lib/greenhat/color.rb, line 12
def self.decorate(args)
  Settings.color? ? pastel.decorate(*args) : args.first
end
pastel() click to toggle source
# File lib/greenhat/color.rb, line 8
def self.pastel
  @pastel ||= Pastel.new
end