class Prawn::Table

def initialize(data, document, options={}, &block)


above for details on available options.
A hash of attributes and values for the table. See the "Options" block
+options+::
The Prawn::Document instance on which to draw the table.
+document+::
above for the types of objects that can be put in a table.
A two-dimensional array of cell-like objects. See the "Data" section
+data+::

Set up a table on the given document. Arguments:
def initialize(data, document, options={}, &block)
  @pdf = document
  @cells = make_cells(data)
  @header = false
  options.each { |k, v| send("#{k}=", v) }
  if block
    block.arity < 1 ? instance_eval(&block) : block[self]
  end
  set_column_widths
  set_row_heights
  position_cells
end