C0 code coverage information
Generated on Thu Jun 07 11:33:59 -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.
1 class Round < ActiveRecord::Base
2 has_many :games
3 belongs_to :phase
4 belongs_to :tournament
5
6 def self.find_by_number(number=nil)
7 if number.nil?
8 return nil
9 end
10 Round.find(:first, :conditions => {:number => number})
11 end
12 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.