class Birt::Core::TableRowCell
Attributes
cell_datas[RW]
cell_labels[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_cell.rb, line 5 def initialize(x_ele) self.cell_labels = Array.new self.cell_datas = Array.new super(x_ele) do x_ele.get_elements(xpath="label").each { |label| self.cell_labels.push Birt::Core::TableCellLabel.new(label) } x_ele.get_elements(xpath="data").each { |data| self.cell_datas.push Birt::Core::TableCellData.new(data) } end yield(self) if block_given? end