Class: Xberg::TableGrid

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTableGrid

Returns a new instance of TableGrid.

Parameters:

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


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

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

Instance Attribute Details

#cellsArray[GridCell]?

Returns the value of attribute cells.

Returns:



882
883
884
# File 'sig/types.rbs', line 882

def cells
  @cells
end

#colsInteger?

Returns the value of attribute cols.

Returns:

  • (Integer, nil)


881
882
883
# File 'sig/types.rbs', line 881

def cols
  @cols
end

#rowsInteger?

Returns the value of attribute rows.

Returns:

  • (Integer, nil)


880
881
882
# File 'sig/types.rbs', line 880

def rows
  @rows
end