Sha256: 630910b17e526bd5899b8a5c41bca75cdddd111e7d021b70e668044429245081

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

require_relative 'retrospec/module'
require_relative 'version'
# monkey patch in some color effects string methods
class String
  def red;            "\033[31m#{self}\033[0m" end
  def green;          "\033[32m#{self}\033[0m" end
  def cyan;           "\033[36m#{self}\033[0m" end
  def yellow;         "\033[33m#{self}\033[0m" end
  def warning;        yellow                   end
  def fatal;          red                      end
  def info;           green                    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
retrospec-0.3.1 lib/retrospec.rb
retrospec-0.3.0 lib/retrospec.rb