class Asciidoctor::Table::Column

keeps track of the column specs
Public: Methods to manage the columns of an AsciiDoc table. In particular, it

def assign_width col_pcwidth, width_base, precision

returns the resolved colpcwidth value

This method assigns the colpcwidth and colabswidth attributes.

Internal: Calculate and assign the widths (percentage and absolute) for this column
def assign_width col_pcwidth, width_base, precision
  if width_base
    col_pcwidth = (@attributes['width'].to_f * 100.0 / width_base).truncate precision
    col_pcwidth = col_pcwidth.to_i if col_pcwidth.to_i == col_pcwidth
  end
  if parent.attributes['tableabswidth']
    @attributes['colabswidth'] = (col_abswidth = ((col_pcwidth / 100.0) * parent.attributes['tableabswidth']).truncate precision) == col_abswidth.to_i ? col_abswidth.to_i : col_abswidth
  end
  @attributes['colpcwidth'] = col_pcwidth
end

def block?

def block?
  false
end

def initialize table, index, attributes = {}

def initialize table, index, attributes = {}
  super table, :table_column
  @style = attributes['style']
  attributes['colnumber'] = index + 1
  attributes['width'] ||= 1
  attributes['halign'] ||= 'left'
  attributes['valign'] ||= 'top'
  update_attributes(attributes)
end

def inline?

def inline?
  false
end