method
new
new(*pairs)
public
Hide source
# File railties/lib/rails/code_statistics.rb, line 17 def initialize(*pairs) @pairs = pairs @statistics = calculate_statistics @total = calculate_total if pairs.length > 1 end