class Prawn::Table::Cell

def initialize(pdf, point, options={})


option :foo => :bar here.
any cell accessor cell.foo = :bar can be set by providing the
accessors" paradigm (see "Options" under the Table documentation), so
with the given +options+. Cell, like Table, follows the "options set
Sets up a cell on the document +pdf+, at the given x/y location +point+,
def initialize(pdf, point, options={})
  @pdf   = pdf
  @point = point
  # Set defaults; these can be changed by options
  @padding       = [5, 5, 5, 5]
  @borders       = [:top, :bottom, :left, :right]
  @border_widths = [1] * 4
  @border_colors = ['000000'] * 4
  @border_lines  = [:solid] * 4
  @colspan = 1
  @rowspan = 1
  @dummy_cells = []
  options.each { |k, v| send("#{k}=", v) }
  @initializer_run = true
end