class Birt::Core::TableFooter

Attributes

rows[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_footer.rb, line 4
def initialize(x_ele)
  self.rows = Array.new

  super(x_ele) do
    x_ele.get_elements(xpath="row").each { |row| self.rows.push Birt::Core::TableRow.new(row)}
  end

  yield(self) if block_given?
end