method
new
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: CodeStatistics
new(*pairs)
public
Hide source
# File railties/lib/rails/code_statistics.rb, line 19 def initialize(*pairs) @pairs = pairs @statistics = calculate_statistics @total = calculate_total if pairs.length > 1 end