class Packwerk::OutputStyles::Coloured

See en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit for ANSI escape colour codes

Public Instance Methods

error() click to toggle source
# File lib/packwerk/output_styles/coloured.rb, line 23
def error
  # 31 is foreground red
  "\033[31m"
end
filename() click to toggle source
# File lib/packwerk/output_styles/coloured.rb, line 17
def filename
  # 36 is foreground cyan
  "\033[36m"
end
reset() click to toggle source
# File lib/packwerk/output_styles/coloured.rb, line 12
def reset
  "\033[m"
end