Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/minitest/cc.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#greenObject



115
116
117
# File 'lib/minitest/cc.rb', line 115

def green
  "\e[32m#{self}\e[0m"
end

#redObject



111
112
113
# File 'lib/minitest/cc.rb', line 111

def red
  "\e[31m#{self}\e[0m"
end

#yellowObject



119
120
121
# File 'lib/minitest/cc.rb', line 119

def yellow
  "\e[33m#{self}\e[0m"
end