class Birt::Core::Property

Attributes

name[RW]
text[RW]

Public Class Methods

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

  super(x_ele) do
    self.name = x_ele.attribute(:name).value
    self.text = x_ele.text
  end

  yield(self) if block_given?
end