class Docx::Elements::Containers::TableRow
Public Class Methods
new(node)
click to toggle source
# File lib/docx/containers/table_row.rb, line 15 def initialize(node) @node = node @properties_tag = '' end
tag()
click to toggle source
# File lib/docx/containers/table_row.rb, line 11 def self.tag 'tr' end
Public Instance Methods
cells()
click to toggle source
Array of cells contained within row
# File lib/docx/containers/table_row.rb, line 21 def cells @node.xpath('w:tc').map {|c_node| Containers::TableCell.new(c_node) } end