| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| lib/dagnabit/link/transitive_closure_recalculation/on_update.rb | 13 | 13 | 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 Dagnabit |
2 module Link |
3 module TransitiveClosureRecalculation |
4 module OnUpdate |
5 def after_update |
6 old_values = dag_link_column_names.map { |n| connection.quote(changes[n].try(:first) || send(n)) } |
7 update_transitive_closure_for_destroy(*old_values) |
8 update_transitive_closure_for_create |
9 end |
10 end |
11 end |
12 end |
13 end |
Generated on Tue Dec 08 04:06:14 -0600 2009 with rcov 0.9.6