Method: TTY::Table::Field#width

Defined in:
lib/tty/table/field.rb

#widthObject

The content width



87
88
89
# File 'lib/tty/table/field.rb', line 87

def width
  @width || Strings::Align.display_width(@content)
end