Class: ReportBuilder::Table::Colspan
- Inherits:
-
Object
- Object
- ReportBuilder::Table::Colspan
- Defined in:
- lib/reportbuilder/table.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#cols ⇒ Object
Returns the value of attribute cols.
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data, cols) ⇒ Colspan
constructor
A new instance of Colspan.
- #to_s ⇒ Object
Constructor Details
#initialize(data, cols) ⇒ Colspan
Returns a new instance of Colspan.
161 162 163 164 |
# File 'lib/reportbuilder/table.rb', line 161 def initialize(data,cols) @data=data @cols=cols end |
Instance Attribute Details
#cols ⇒ Object
Returns the value of attribute cols.
160 161 162 |
# File 'lib/reportbuilder/table.rb', line 160 def cols @cols end |
#data ⇒ Object
Returns the value of attribute data.
160 161 162 |
# File 'lib/reportbuilder/table.rb', line 160 def data @data end |
Instance Method Details
#to_s ⇒ Object
165 166 167 |
# File 'lib/reportbuilder/table.rb', line 165 def to_s @data.to_s end |