Class: ReportBuilder::Table::Colspan

Inherits:
Object
  • Object
show all
Defined in:
lib/reportbuilder/table.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#colsObject

Returns the value of attribute cols.



160
161
162
# File 'lib/reportbuilder/table.rb', line 160

def cols
  @cols
end

#dataObject

Returns the value of attribute data.



160
161
162
# File 'lib/reportbuilder/table.rb', line 160

def data
  @data
end

Instance Method Details

#to_sObject



165
166
167
# File 'lib/reportbuilder/table.rb', line 165

def to_s
  @data.to_s
end