Class: Xberg::TableGrid
- Inherits:
-
Object
- Object
- Xberg::TableGrid
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cells ⇒ Array[GridCell]
readonly
Returns the value of attribute cells.
-
#cols ⇒ Integer
readonly
Returns the value of attribute cols.
-
#rows ⇒ Integer
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize ⇒ TableGrid
constructor
A new instance of TableGrid.
Constructor Details
#initialize ⇒ TableGrid
2513 |
# File 'sig/types.rbs', line 2513 def initialize: (?rows: Integer, ?cols: Integer, ?cells: Array[GridCell]) -> void |
Instance Attribute Details
#cells ⇒ Array[GridCell] (readonly)
Returns the value of attribute cells.
2511 2512 2513 |
# File 'sig/types.rbs', line 2511 def cells @cells end |
#cols ⇒ Integer (readonly)
Returns the value of attribute cols.
2510 2511 2512 |
# File 'sig/types.rbs', line 2510 def cols @cols end |
#rows ⇒ Integer (readonly)
Returns the value of attribute rows.
2509 2510 2511 |
# File 'sig/types.rbs', line 2509 def rows @rows end |