C0 code coverage information
Generated on Fri Jul 11 15:55:34 -0700 2008 with rcov 0.7.0
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 class String
2 def starts_with?(other)
3 head = self[0, other.length]
4 head == other
5 end
6
7 def ends_with?(other)
8 tail = self[-1 * other.length, other.length]
9 tail == other
10 end
11 end
Generated using the rcov code coverage analysis tool for Ruby version 0.7.0.