C0 code coverage information
Generated on Thu Jun 07 11:34:00 -0400 2007 with rcov 0.8.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 require 'round_off'
2 require 'round_to'
3 require 'round_at'
4 class Float
5 alias_method :to_string, :to_s
6 def to_s
7 to_string
8 if nan? or infinite?
9 "--"
10 else
11 to_string
12 end
13 end
14 def trail
15 if to_s.match(/\.\d$/)
16 return to_s + "0"
17 else
18 return to_s
19 end
20 end
21 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.