Method: Prawn::Table::Cell#width_ignoring_span

Defined in:
lib/prawn/table/cell.rb

#width_ignoring_spanObject

Returns the width of the cell in its first column alone, ignoring any colspans.



249
250
251
252
253
# File 'lib/prawn/table/cell.rb', line 249

def width_ignoring_span
  # We can't ||= here because the FP error accumulates on the round-trip
  # from #content_width.
  defined?(@width) && @width || (content_width + padding_left + padding_right)
end