Geminstaller C0 Coverage Information - RCov

/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/mocks/space.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/mocks/space.rb 28 24
100.00%
100.00%

Key

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.

Coverage Details

1 module Spec
2   module Mocks
3     class Space
4       def add(obj)
5         mocks << obj unless mocks.detect {|m| m.equal? obj}
6       end
7 
8       def verify_all
9         mocks.each do |mock|
10           mock.rspec_verify
11         end
12       end
13       
14       def reset_all
15         mocks.each do |mock|
16           mock.rspec_reset
17         end
18         mocks.clear
19       end
20       
21     private
22     
23       def mocks
24         @mocks ||= []
25       end
26     end
27   end
28 end

Generated on Mon May 10 23:40:27 -0700 2010 with rcov 0.9.8