class CoverageInfo

checks. It is returned by FileStatistics#coverage.
Rcov::CoverageInfo is but a wrapper for an array, with some additional

def [](line)

heuristics indicated that it was not executed
* false otherwise, i.e. if it was not reported by Ruby and rcov's
by Ruby.
* :inferred if rcov inferred it was executed, despite not being reported
* true if the line was reported by Ruby as executed
* nil if there's no information for the requested line (i.e. it doesn't exist)
return values:
Return the coverage status for the requested line. There are four possible
def [](line)
  @cover[line]
end

def []=(line, val) # :nodoc:

:nodoc:
def []=(line, val) # :nodoc:
  unless [true, false, :inferred].include? val
    raise RuntimeError, "What does #{val} mean?" 
  end
  return if line < 0 || line >= @cover.size
  @cover[line] = val
end

def initialize(coverage_array)

def initialize(coverage_array)
  @cover = coverage_array.clone
end

def method_missing(meth, *a, &b) # :nodoc:

:nodoc:
def method_missing(meth, *a, &b) # :nodoc:
  @cover.send(meth, *a, &b)
end

def to_a

Return an Array holding the code coverage information.
def to_a
  @cover.clone
end