Method: TTY::Table::Renderer::Basic#column_widths
- Defined in:
- lib/tty/table/renderer/basic.rb
permalink #column_widths ⇒ Array[Integer]
Parses supplied column widths, if not present calculates natural widths.
136 137 138 |
# File 'lib/tty/table/renderer/basic.rb', line 136 def column_widths @column_widths = Columns.widths_from(table, @column_widths) end |