class Swagcov::Formatter::Console
def min_path_width
def min_path_width strings = [] %i[covered ignored uncovered].each { |key| data[key].each { |hash| strings << hash[:path] } } @min_path_width ||= strings.max_by(&:length)&.size.to_i + 1 end
def min_path_width strings = [] %i[covered ignored uncovered].each { |key| data[key].each { |hash| strings << hash[:path] } } @min_path_width ||= strings.max_by(&:length)&.size.to_i + 1 end