class Rlt::Utils::ColoredText

Public Class Methods

desc(msg) click to toggle source
# File lib/rlt/utils/colored_text.rb, line 16
def self.desc(msg)
  Pastel.new.green(msg)
end
error(msg) click to toggle source
# File lib/rlt/utils/colored_text.rb, line 24
def self.error(msg)
  Pastel.new.red(msg)
end
info(msg) click to toggle source
# File lib/rlt/utils/colored_text.rb, line 12
def self.info(msg)
  Pastel.new.magenta.bold(msg)
end
verbose(msg) click to toggle source
# File lib/rlt/utils/colored_text.rb, line 8
def self.verbose(msg)
  Pastel.new.white(msg)
end
warn(msg) click to toggle source
# File lib/rlt/utils/colored_text.rb, line 20
def self.warn(msg)
  Pastel.new.yellow(msg)
end