Class: Aurita::GUI::Table_Column

Inherits:
Object
  • Object
show all
Defined in:
lib/aurita-gui/table.rb

Overview

Virtual Element: There is no mapped HTML element for table columns.

Instance Method Summary collapse

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