method
calculate_total
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: CodeStatistics
calculate_total()
private
Hide source
# File railties/lib/rails/code_statistics.rb, line 59 def calculate_total @statistics.each_with_object(CodeStatisticsCalculator.new) do |pair, total| total.add(pair.last) end end