class String

Create colorizing methods in the 'String' class, but only if 'colors_enabled' has been set.

Constants

COLORS

Public Class Methods

colors_enabled=(value) click to toggle source
# File lib/octocatalog-diff/util/colored.rb, line 19
def self.colors_enabled=(value)
  @@colors_enabled = value # rubocop:disable Style/ClassVars
end