Class: Birt::Core::TableCellData

Inherits:
BaseReport show all
Defined in:
lib/birt/core/table/table_cell_data.rb

Instance Attribute Summary collapse

Attributes inherited from BaseReport

#id

Instance Method Summary collapse

Methods inherited from BaseReport

#elem_text

Constructor Details

#initialize(x_ele) {|_self| ... } ⇒ TableCellData

Returns a new instance of TableCellData.

Yields:

  • (_self)

Yield Parameters:



6
7
8
9
10
11
12
13
14
# File 'lib/birt/core/table/table_cell_data.rb', line 6

def initialize(x_ele)
  self.properties = Array.new

  super(x_ele) do
    x_ele.get_elements(xpath="property").each { |tp| self.properties.push Birt::Core::Property.new(tp) }
  end

  yield(self) if block_given?
end

Instance Attribute Details

#propertiesObject

Returns the value of attribute properties.



4
5
6
# File 'lib/birt/core/table/table_cell_data.rb', line 4

def properties
  @properties
end