Sha256: 7d627a95ee17738ad04b781579a1f40db24c293b5137e6ef79406aa59dd2f34e

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

require_relative 'retrospec/module'

# 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.2.1 lib/retrospec.rb
retrospec-0.2.0 lib/retrospec.rb