Class: Aurita::GUI::Table_Column
- Inherits:
-
Object
- Object
- Aurita::GUI::Table_Column
- Defined in:
- lib/aurita-gui/table.rb
Overview
Virtual Element: There is no mapped HTML element for table columns.
Instance Method Summary collapse
- #[](row_index) ⇒ Object
- #[]=(row_index, cell_element) ⇒ Object
-
#initialize(cell_array) ⇒ Table_Column
constructor
A new instance of Table_Column.
Constructor Details
#initialize(cell_array) ⇒ Table_Column
Returns a new instance of Table_Column.
204 205 206 |
# File 'lib/aurita-gui/table.rb', line 204 def initialize(cell_array) @cells = cell_array end |
Instance Method Details
#[](row_index) ⇒ Object
207 208 209 |
# File 'lib/aurita-gui/table.rb', line 207 def [](row_index) @cells[row_index] end |
#[]=(row_index, cell_element) ⇒ Object
210 211 212 |
# File 'lib/aurita-gui/table.rb', line 210 def []=(row_index, cell_element) @cells[row_index] = cell_element end |