Module: PrettyTrace::Colors

Included in:
BacktraceItem, Handler
Defined in:
lib/pretty_trace/colors.rb

Instance Method Summary collapse

Instance Method Details

#colorsObject



3
4
5
6
7
8
9
# File 'lib/pretty_trace/colors.rb', line 3

def colors
  {
    reset:  "\e[0m",  black:  "\e[30m", red:    "\e[31m",
    green:  "\e[32m", yellow: "\e[33m", blue:   "\e[34m",
    magenta:"\e[35m", cyan:   "\e[36m", white:  "\e[37m",
  }
end