Sha256: 9868c7466c79dfd8a55f5394901aa559ec5f8849ed7f6cbb799dd47961722d02

Contents?: true

Size: 229 Bytes

Versions: 7

Compression:

Stored size: 229 Bytes

Contents

class Birt::Core::BaseReport
  attr_accessor :id

  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

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
birt-0.1.2 lib/birt/core/report/base_report.rb
birt-core-0.1.7 lib/birt/core/report/base_report.rb
birt-core-0.1.6 lib/birt/core/report/base_report.rb
birt-core-0.1.5 lib/birt/core/report/base_report.rb
birt-core-0.1.4 lib/birt/core/report/base_report.rb
birt-core-0.1.3 lib/birt/core/report/base_report.rb
birt-core-0.1.2 lib/birt/core/report/base_report.rb