lib/colorize.rb



# frozen_string_literal: true

require File.expand_path('colorize/version', File.dirname(__FILE__))
require File.expand_path('colorize/errors', File.dirname(__FILE__))
require File.expand_path('colorize/class_methods', File.dirname(__FILE__))
require File.expand_path('colorize/instance_methods', File.dirname(__FILE__))

#
# String class extension.
#
class String
  extend Colorize::ClassMethods
  include Colorize::InstanceMethods

  color_methods
  modes_methods

  add_color_alias(:grey, :light_black)
  add_color_alias(:gray, :light_black)
end