Method: TTY::Table::Field#height

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

#heightInteger

Extract the number of lines this value spans

Returns:

  • (Integer)


120
121
122
# File 'lib/tty/table/field.rb', line 120

def height
  lines.size
end