class Birt::Core::BaseReport

Attributes

id[RW]

Public Class Methods

new(xml_element) { |self| ... } click to toggle source
# File lib/birt/core/report/base_report.rb, line 4
def initialize(xml_element)
  if xml_element
    self.id = xml_element.attribute(:id).value if xml_element.attribute(:id)
  end

  yield(self) if block_given?
end