method

width_for

Importance_0
v5.0.0.1 - 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 73
    def width_for(label)
      [@statistics.values.sum {|s| s.send(label) }.to_s.size, HEADERS[label].length].max
    end
Register or log in to add new notes.