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.



135
136
137
# File 'lib/aurita-gui/table.rb', line 135

def initialize(cell_array)
  @cells = cell_array
end

Instance Method Details

#[](row_index) ⇒ Object



138
139
140
# File 'lib/aurita-gui/table.rb', line 138

def [](row_index)
  @cells[row_index]
end

#[]=(row_index, cell_element) ⇒ Object



141
142
143
# File 'lib/aurita-gui/table.rb', line 141

def []=(row_index, cell_element)
  @cells[row_index] = cell_element
end