Class: Anydoc::Cell

Inherits:
Data
  • Object
show all
Defined in:
lib/anydoc/document.rb,
sig/anydoc.rbs

Overview

A table cell and the extent it spans.

Instance Attribute Summary collapse

Instance Attribute Details

#blocksArray<Block> (readonly)

Returns:



193
194
# File 'lib/anydoc/document.rb', line 193

class Cell < Data.define(:blocks, :col_span, :row_span)
end

#col_spanInteger (readonly)

Returns columns covered, at least 1.

Returns:

  • (Integer)

    columns covered, at least 1.



193
194
# File 'lib/anydoc/document.rb', line 193

class Cell < Data.define(:blocks, :col_span, :row_span)
end

#row_spanInteger (readonly)

Returns rows covered, at least 1.

Returns:

  • (Integer)

    rows covered, at least 1.



193
194
# File 'lib/anydoc/document.rb', line 193

class Cell < Data.define(:blocks, :col_span, :row_span)
end