method
calculate_total
calculate_total()
private
Hide source
# File railties/lib/rails/code_statistics.rb, line 64 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