class Crispr::Reporter

def score

Returns:
  • (Float) - the mutation score
def score
  total = @killed + @survived
  total.zero? ? 0.0 : (@killed.to_f / total * 100).round(2)
end