class PrawnHtml::PdfWrapper
def puts(buffer, options, bounding_box: nil, left_indent: 0)
-
bounding_box
(Array
) -- bounding box arguments, if bounded -
options
(Hash
) -- hash of options -
buffer
(Array
) -- array of text items
def puts(buffer, options, bounding_box: nil, left_indent: 0) return output_buffer(buffer, options, left_indent: left_indent) unless bounding_box current_y = pdf.cursor pdf.bounding_box(*bounding_box) do output_buffer(buffer, options, left_indent: left_indent) end pdf.move_cursor_to(current_y) end