C0 code coverage information
Generated on Sat Feb 02 17:44:29 +0100 2008 with rcov 0.8.1.2
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2 # All files in this distribution are subject to the terms of the Ruby license.
3
4 # Extensions for String
5
6 class String
7 { :reset => 0,
8 :bold => 1,
9 :dark => 2,
10 :underline => 4,
11 :blink => 5,
12 :negative => 7,
13 :black => 30,
14 :red => 31,
15 :green => 32,
16 :yellow => 33,
17 :blue => 34,
18 :magenta => 35,
19 :cyan => 36,
20 :white => 37,
21 }.each do |key, value|
22 define_method key do
23 "\e[#{value}m" + self + "\e[0m"
24 end
25 end
26 end
27
Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.