Looping in GreenHat to allow disabling of Color
12 13 14
# File 'lib/greenhat/color.rb', line 12 def self.decorate(args) Settings.color? ? pastel.decorate(*args) : args.first end
8 9 10
# File 'lib/greenhat/color.rb', line 8 def self.pastel @pastel ||= Pastel.new end