method

width_for

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: CodeStatistics
width_for(label) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/code_statistics.rb, line 77
    def width_for(label)
      [@statistics.values.sum { |s| s.public_send(label) }.to_s.size, HEADERS[label].length].max
    end
Register or log in to add new notes.