Sha256: bb05f8641ce3f87f27aa003f453eded3a1cde370a0f139b6479f1860aa9b0c9e

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

# encoding: utf-8

begin
  require "term/ansicolor"
rescue LoadError
  raise LoadError, "You have to install term-ansicolor gem!"
end

String.send(:include, Term::ANSIColor) # just for now, I know it's a mess

# show colors just if you run nake directly from command line,
# but not if are using nake in a script or so
Term::ANSIColor.coloring = STDIN.tty?

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nake-0.0.7 lib/nake/colors.rb
nake-0.0.6 lib/nake/colors.rb