class Prawn::Table::Cell::Subtable

@private
A Cell that contains another table.

def draw_content


Draws the subtable.
def draw_content
  @subtable.draw
end

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

def initialize(pdf, point, options={})
  super
  @subtable = options[:content]
  # Subtable padding defaults to zero
  @padding = [0, 0, 0, 0]
end

def max_width


Proxied to subtable.
def max_width
  @subtable.cells.max_width
end

def min_width


Proxied to subtable.
def min_width
  @subtable.cells.min_width
end

def natural_content_height


Proxied to subtable.
def natural_content_height
  @subtable.cells.height
end

def natural_content_width


Proxied to subtable.
def natural_content_width
  @subtable.cells.width
end

def text_color=(color)


Sets the text color of the entire subtable.
def text_color=(color)
  @subtable.cells.text_color = color
end