class

Asciidoctor::Table::Rows

Inherits Reference < Object

A data object that encapsulates the collection of rows (head, foot, body) for a table.

Constructors

new(head : Array(Array(Asciidoctor::Table::Cell)) = [] of Array(Cell), foot : Array(Array(Asciidoctor::Table::Cell)) = [] of Array(Cell), body : Array(Array(Asciidoctor::Table::Cell)) = [] of Array(Cell))
Source

Instance methods

body
Source
body=(body : Array(Array(Cell)))
Source
by_section

Retrieve the rows grouped by section as a nested Array.

Source
foot
Source
foot=(foot : Array(Array(Cell)))
Source
head
Source
head=(head : Array(Array(Cell)))
Source
to_h

Retrieve the rows as a Hash.

Source