C0 code coverage information

Generated on Sat Jul 21 11:12:32 -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/errors.rb 31 18
100.0% 
100.0% 
 1 module Rools
 2 
 3   class RuleError < StandardError
 4       attr_reader :rule, :inner_error
 5       
 6       # Pass the Rools::Rule that caused the error, and an optional inner_error
 7       def initialize(rule, inner_error = nil)    
 8         @rule = rule
 9         @inner_error = inner_error      
10       end
11       
12       # returns the name of the associated Rools::Rule, and the message of the inner_error
13       def to_s
14         "#{@rule.name}\n#{@inner_error.to_s}"
15       end
16       
17   end
18   
19   # See: Rools::RuleError (RuleCheckError is only a default derivation)
20   class RuleCheckError < RuleError
21   end
22 
23   # See: Rools::RuleError (RuleConsequenceError is only a default derivation)
24   class RuleConsequenceError < RuleError
25   end
26   
27   # See: Rools::RuleError (RuleLoadingError is only a default derivation)
28   class RuleLoadingError < StandardError
29   end
30   
31 end

Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.

Valid XHTML 1.0! Valid CSS!