Class: Tabulo::CellData
- Inherits:
-
Struct
- Object
- Struct
- Tabulo::CellData
- Defined in:
- lib/tabulo/cell_data.rb
Overview
Instance Attribute Summary collapse
-
#column_index ⇒ Integer
The positional index of the Cell's Column.
- #row_index ⇒ Integer
- #source ⇒ Object
Instance Attribute Details
#column_index ⇒ Integer
The positional index of the Tabulo::Cell's Tabulo::Column. The leftmost Tabulo::Column of the Table has index 0, the next has index 1, etc..
12 13 14 |
# File 'lib/tabulo/cell_data.rb', line 12 def column_index @column_index end |
#row_index ⇒ Integer
The positional index of the Tabulo::Cell's Row. The topmost Row of the Table has index 0, the next has index 1, etc.. The header row(s) are not counted for the purpose of this numbering.
12 13 14 |
# File 'lib/tabulo/cell_data.rb', line 12 def row_index @row_index end |
#source ⇒ Object
The member of this Tabulo::Cell's Table's underlying enumerable from which this Tabulo::Cell's Row was derived.
12 13 14 |
# File 'lib/tabulo/cell_data.rb', line 12 def source @source end |