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])


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

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

Instance Attribute Details

#cellsArray[GridCell]?

Returns the value of attribute cells.

Returns:



852
853
854
# File 'sig/types.rbs', line 852

def cells
  @cells
end

#colsInteger?

Returns the value of attribute cols.

Returns:

  • (Integer, nil)


851
852
853
# File 'sig/types.rbs', line 851

def cols
  @cols
end

#rowsInteger?

Returns the value of attribute rows.

Returns:

  • (Integer, nil)


850
851
852
# File 'sig/types.rbs', line 850

def rows
  @rows
end