class Prawn::Table::Cell

def relative_x

def relative_x
  # Translate coordinates to the bounds we are in, since drawing is
  # relative to the cursor, not ref_bounds.
  x + @pdf.bounds.left_side - @pdf.bounds.absolute_left
end