method

width_for

rails latest stable - Class: Rails::CodeStatistics

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

width_for(label)
private

No documentation available.

# File railties/lib/rails/code_statistics.rb, line 118
      def width_for(label)
        [@statistics.values.sum { |s| s.public_send(label) }.to_s.size, HEADERS[label].length].max
      end