class Asciidoctor::Table

def partition_header_footer(attributes)

returns nothing

by the options on the table
Internal: Partition the rows into header, footer and body as determined
def partition_header_footer(attributes)
  # set rowcount before splitting up body rows
  @attributes['rowcount'] = @rows.body.size
  num_body_rows = @rows.body.size
  if num_body_rows > 0 && @has_header_option
    head = @rows.body.shift
    num_body_rows -= 1
    # styles aren't applied to header row
    head.each {|c| c.style = nil }
    # QUESTION why does AsciiDoc use an array for head? is it
    # possible to have more than one based on the syntax?
    @rows.head = [head]
  end
  if num_body_rows > 0 && attributes.key?('footer-option')
    @rows.foot = [@rows.body.pop]
  end
  
  nil
end