class Prawn::Document
def cell(options={})
See Prawn::Table::Cell.make for full options.
cell(:content => "Hello world!", :at => [12, 34])
Instantiates and draws a cell on the document.
def cell(options={}) cell = Table::Cell.make(self, options.delete(:content), options) cell.draw cell end
def make_cell(content, options={})
See the documentation on Prawn::Cell for details on the arguments.
resulting Cell to ink it.
formatting options to be inserted into a Table. Call +draw+ on the
Set up, but do not draw, a cell. Useful for creating cells with
def make_cell(content, options={}) Prawn::Table::Cell.make(self, content, options) end