Class: ReportBuilder::Table::Rowspan
- Inherits:
-
Object
- Object
- ReportBuilder::Table::Rowspan
- Defined in:
- lib/reportbuilder/table.rb
Overview
INTERNAL CLASSES #
Instance Attribute Summary collapse
-
#data ⇒ Object
:nodoc:.
-
#rows ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize(data, rows) ⇒ Rowspan
constructor
A new instance of Rowspan.
- #to_s ⇒ Object
Constructor Details
#initialize(data, rows) ⇒ Rowspan
Returns a new instance of Rowspan.
143 144 145 146 |
# File 'lib/reportbuilder/table.rb', line 143 def initialize(data,rows) @data=data @rows=rows end |
Instance Attribute Details
#data ⇒ Object
:nodoc:
142 143 144 |
# File 'lib/reportbuilder/table.rb', line 142 def data @data end |
#rows ⇒ Object
:nodoc:
142 143 144 |
# File 'lib/reportbuilder/table.rb', line 142 def rows @rows end |
Instance Method Details
#to_s ⇒ Object
147 148 149 |
# File 'lib/reportbuilder/table.rb', line 147 def to_s @data.to_s end |