File: colorator.rb

package info (click to toggle)
ruby-colorator 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 96 kB
  • ctags: 3
  • sloc: ruby: 46; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$:.unshift File.dirname(__FILE__)

module Colorator
  VERSION = "0.1"
  ANSI_COLORS = {
    :black   => 30,
    :red     => 31,
    :green   => 32,
    :yellow  => 33,
    :blue    => 34,
    :magenta => 35,
    :cyan    => 36,
    :white   => 37,
    :bold    => 1
  }
end

require "colorator/core_ext"