lib/berkeley_library/tind/export/column_width_calculator.rb
# Fallback to digit width for other characters
Fallback to digit width for other characters
Fallback to digit width for other characters
def width_ps_units(str)
          return 0 if str.nil? || str.empty?
          chars = str.unicode_normalize.chars
          chars.inject(0) { |total, c| total + width_for_char(c) }
        end
def width_ps_units ( str ) return 0 if str . nil? || str . empty? chars = str . unicode_normalize . chars chars . inject ( 0 ) { | total , c | total + width_for_char ( c ) } end
Fallback to digit width for other characters
Fallback to digit width for other characters
str
<not_specific>