Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
lib/Context/Widget.rb | 31 | 14 | 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 module Context |
2 # This is the Widget mixin for Context. If you wish to be able |
3 # to add to, add, or remove a widget inside a View using context, |
4 # this mixin must be included. This is an abstract mixin. The |
5 # methods do nothing. They should be overriden in the concrete |
6 # mixins. Please see Context::Gtk::Widget for an example. |
7 module Widget |
8 |
9 # This method creates any instance variables that you might have. |
10 def setupWidget |
11 end |
12 |
13 # Use this widget as a container for the passed widget |
14 def addToThisWidget(widget) |
15 end |
16 |
17 # Remove the passed widget from this object. |
18 def removeFromThisWidget(widget) |
19 end |
20 |
21 # This method is called after the widget has been |
22 # successfully added to another widget |
23 def widgetWasAddedTo(widget) |
24 end |
25 |
26 # This method is called after the widget has been |
27 # successfully removed from another widget |
28 def widgetWasRemovedFrom(widget) |
29 end |
30 end |
31 end |
Generated on Mon May 23 16:17:45 +0900 2011 with rcov 0.9.8