Method: IsoDoc::Function::Table#tbody_parse

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

#tbody_parse(node, t) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/isodoc/function/table.rb', line 22

def tbody_parse(node, t)
  tbody = node.at(ns("./tbody")) || return
  t.tbody do |h|
    tbody.element_children.each_with_index do |n, i|
      tr_parse(n, h, i, tbody.element_children.size, false)
    end
  end
end