Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
lib/Context/Views/PageView.rb | 17 | 11 | 100.00%
|
100.00%
|
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 'Context/View' |
2 |
3 module Context |
4 class PageView < View |
5 def initialize(context) |
6 super(context) |
7 end |
8 |
9 # The page view is meant to be the main view for a context |
10 # (in Gtk it's a window). So if the view closes, it should |
11 # close the context. Actually, I'm not sure if I like this |
12 # idea. It might change. |
13 def close |
14 @context.close |
15 end |
16 end |
17 end |
Generated on Mon May 23 16:17:45 +0900 2011 with rcov 0.9.8