class Prawn::Table::Cell::Text

Public Instance Methods

draw_content() click to toggle source
# File lib/asciidoctor-pdf/prawn-table_ext/cell/text.rb, line 4
def draw_content
  with_font do
    with_text_color do
      (text_box width: spanned_content_width + FPTolerance,
          height: spanned_content_height + FPTolerance,
          at: [0, @pdf.cursor]).render
    end
  end
end