Class: ReportBuilder::Table::Rowspan

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

Overview

INTERNAL CLASSES #

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject

:nodoc:



142
143
144
# File 'lib/reportbuilder/table.rb', line 142

def data
  @data
end

#rowsObject

:nodoc:



142
143
144
# File 'lib/reportbuilder/table.rb', line 142

def rows
  @rows
end

Instance Method Details

#to_sObject



147
148
149
# File 'lib/reportbuilder/table.rb', line 147

def to_s
  @data.to_s
end