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.



154
155
156
157
# File 'lib/reportbuilder/table.rb', line 154

def initialize(data,cols)
  @data=data
  @cols=cols
end

Instance Attribute Details

#colsObject

Returns the value of attribute cols.



153
154
155
# File 'lib/reportbuilder/table.rb', line 153

def cols
  @cols
end

#dataObject

Returns the value of attribute data.



153
154
155
# File 'lib/reportbuilder/table.rb', line 153

def data
  @data
end

Instance Method Details

#to_sObject



158
159
160
# File 'lib/reportbuilder/table.rb', line 158

def to_s
  @data.to_s
end