class

XLSX::RowBuilder

Inherits Reference < Object

Builds a single Row by populating cells via a column span or direct assignment.

Constructors

new(row_id : Int32)
Source

Instance methods

[]=(col_id : Int32, value : CellValue)

Sets a single cell directly. Overwrites any value already at col_id.

Source
build

Produces the immutable Row.

Source
cells(span : Range(Int32, Int32), & : Int32 -> CellValue)

Populates cells in span by calling the block with each column ID. The block's return value becomes the cell value.

Source
row_id
Source