Class Asciidoctor::Table::Cell
In: lib/asciidoctor/table.rb
Parent: AbstractNode

Public: Methods for managing the a cell in an AsciiDoc table.

Methods

content   new   text   text=   to_s  

External Aliases

parent -> column
  Public: An alias to the parent block (which is always a Column)

Attributes

colspan  [RW]  Public: An Integer of the number of columns this cell will span (default: nil)
inner_document  [R]  Public: The internal Asciidoctor::Document for a cell that has the asciidoc style
rowspan  [RW]  Public: An Integer of the number of rows this cell will span (default: nil)
style  [RW]  Public: Get/Set the Symbol style for this cell (default: nil)

Public Class methods

Public Instance methods

Public: Handles the body data (tbody, tfoot), applying styles and partitioning into paragraphs

This method should not be used for cells in the head row or that have the literal or verse style.

Returns the converted String for this Cell

Public: Get the String text of this cell with substitutions applied.

Used for cells in the head row as well as text-only (non-AsciiDoc) cells in the foot row and body.

This method shouldn‘t be used for cells that have the AsciiDoc style.

Returns the converted String text for this Cell

Public: Set the String text.

This method shouldn‘t be used for cells that have the AsciiDoc style.

Returns the new String text assigned to this Cell

[Validate]