C0 code coverage information
Generated on Fri Aug 25 10:11:30 PDT 2006 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 module PagesHelper
2 def truncate_title(title, width=33)
3 if tilde = title =~ /~/
4 title[0...tilde] << '...'
5 else
6 truncate(title, width, '...')
7 end
8
9 end
10 end
Generated using the rcov code coverage analysis tool for Ruby version 0.7.0.