class Docx::Elements::Containers::TableColumn

Public Class Methods

new(cell_nodes) click to toggle source
# File lib/docx/containers/table_column.rb, line 15
def initialize(cell_nodes)
  @node = ''
  @properties_tag = ''
  @cells = cell_nodes.map { |c_node| Containers::TableCell.new(c_node) }
end
tag() click to toggle source
# File lib/docx/containers/table_column.rb, line 11
def self.tag
  'w:gridCol'
end

Public Instance Methods

cells() click to toggle source

Array of cells contained within row

# File lib/docx/containers/table_column.rb, line 22
def cells
  @cells
end