class Birt::Core::TableRow

Attributes

row_cells[RW]

Public Class Methods

new(x_ele) { |self| ... } click to toggle source
Calls superclass method Birt::Core::BaseReport::new
# File lib/birt/core/report/table_row.rb, line 5
def initialize(x_ele)
  self.row_cells = Array.new

  super(x_ele) do
    x_ele.get_elements(xpath="cell").each { |cell| self.row_cells.push Birt::Core::TableRowCell.new(cell) }
  end

  yield(self) if block_given?
end