C0 code coverage information
Generated on Sun Oct 26 11:18:06 -0500 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 class ConcurrentlyAccessed
2 class Error < Exception; end
3
4 def invoke *args
5 @invoked_count += 1
6 @invoked_args = args
7 end
8
9 def invoke_raises *args
10 @invoked_count += 1
11 @invoked_args = args
12 raise Error.new(args.inspect)
13 end
14
15 def initialize
16 @invoked_count = 0
17 @invoked_args = nil
18 end
19
20 attr_reader :invoked_count, :invoked_args
21 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.