class SimpleCov::SourceFile

def round_float(float, places)

ruby 1.9 could use Float#round(places) instead
def round_float(float, places)
  factor = (10 * places).to_f
  (float * factor).round / factor
end