Class: HtmlToMarkdown::TableGrid

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ TableGrid

Returns a new instance of TableGrid.

Parameters:

  • rows: (Integer)
  • cols: (Integer)
  • cells: (Array[GridCell])


282
# File 'sig/types.rbs', line 282

def initialize: (?rows: Integer, ?cols: Integer, ?cells: Array[GridCell]) -> void

Instance Attribute Details

#cells ⇒ Array[GridCell] (readonly)

Returns the value of attribute cells.

Returns:



280
281
282
# File 'sig/types.rbs', line 280

def cells
  @cells
end

#cols ⇒ Integer (readonly)

Returns the value of attribute cols.

Returns:

  • (Integer)


279
280
281
# File 'sig/types.rbs', line 279

def cols
  @cols
end

#rows ⇒ Integer (readonly)

Returns the value of attribute rows.

Returns:

  • (Integer)


278
279
280
# File 'sig/types.rbs', line 278

def rows
  @rows
end