Class: Birt::Core::TableCellData
- Inherits:
-
BaseReport
- Object
- BaseReport
- Birt::Core::TableCellData
- Defined in:
- lib/birt/core/table/table_cell_data.rb
Instance Attribute Summary collapse
-
#properties ⇒ Object
Returns the value of attribute properties.
Attributes inherited from BaseReport
Instance Method Summary collapse
-
#initialize(x_ele) {|_self| ... } ⇒ TableCellData
constructor
A new instance of TableCellData.
Methods inherited from BaseReport
Constructor Details
#initialize(x_ele) {|_self| ... } ⇒ TableCellData
Returns a new instance of TableCellData.
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
#properties ⇒ Object
Returns the value of attribute properties.
4 5 6 |
# File 'lib/birt/core/table/table_cell_data.rb', line 4 def properties @properties end |