C0 code coverage information
Generated on Mon May 21 22:36:01 -0400 2007 with rcov 0.8.0
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.
| Name |
Total lines |
Lines of code |
Total coverage |
Code coverage |
|
lib/rools.rb
|
15
|
10
|
|
|
1 require 'rools/errors'
2 require 'rools/default_parameter_proc'
3 require 'rools/rule_set'
4 require 'rools/rule'
5
6 # All classes are contained in the Rools module
7 module Rools
8
9 @@rule_sets = {}
10
11 # open aliases Rools::RuleSet.new, and caches RuleSets loaded by path
12 def self.open(path = nil, &b)
13 path.nil? ? Rools::RuleSet.new(path, &b) : (@@rule_sets[path] ||= Rools::RuleSet.new(path))
14 end
15 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.