private Method

CodeStatistics.calculate_total

There's no documentation for this item.

Source Code

# File code_statistics.rb, line 53
def calculate_total
  total = { "lines" => 0, "codelines" => 0, "classes" => 0, "methods" => 0 }
  @statistics.each_value { |pair| pair.each { |k, v| total[k] += v } }
  total
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.