class Covered::Statistics
def validate!(minimum = 1.0)
def validate!(minimum = 1.0) if self.ratio < minimum raise CoverageError, "Coverage of #{self.percentage.to_f.round(2)}% is less than required minimum of #{(minimum * 100.0).round(2)}%!" end end