Class: Birt::Core::TableRow
- Inherits:
-
BaseReport
- Object
- BaseReport
- Birt::Core::TableRow
- Defined in:
- lib/birt/core/table/table_row.rb
Instance Attribute Summary collapse
-
#row_cells ⇒ Object
Returns the value of attribute row_cells.
Attributes inherited from BaseReport
Instance Method Summary collapse
-
#initialize(x_ele) {|_self| ... } ⇒ TableRow
constructor
A new instance of TableRow.
Methods inherited from BaseReport
Constructor Details
#initialize(x_ele) {|_self| ... } ⇒ TableRow
Returns a new instance of TableRow.
5 6 7 8 9 10 11 12 13 |
# File 'lib/birt/core/table/table_row.rb', line 5 def initialize(x_ele) self.row_cells = Array.new super(x_ele) do x_ele.get_elements(xpath="cell").each { |cell| self.row_cells.push Birt::Core::TableRowCell.new(cell) } end yield(self) if block_given? end |
Instance Attribute Details
#row_cells ⇒ Object
Returns the value of attribute row_cells.
3 4 5 |
# File 'lib/birt/core/table/table_row.rb', line 3 def row_cells @row_cells end |