Method: IsoDoc::Function::Table#thead_parse

Defined in:
lib/isodoc/function/table.rb

#thead_parse(node, t) ⇒ Object



16
17
18
19
20
21
22
23
24
25
# File 'lib/isodoc/function/table.rb', line 16

def thead_parse(node, t)
  thead = node.at(ns("./thead"))
  if thead
    t.thead do |h|
      thead.element_children.each_with_index do |n, i|
        tr_parse(n, h, i, thead.element_children.size, true)
      end
    end
  end
end