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