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.



150
151
152
153
# File 'lib/reportbuilder/table.rb', line 150

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

Instance Attribute Details

#dataObject

:nodoc:



149
150
151
# File 'lib/reportbuilder/table.rb', line 149

def data
  @data
end

#rowsObject

:nodoc:



149
150
151
# File 'lib/reportbuilder/table.rb', line 149

def rows
  @rows
end

Instance Method Details

#to_sObject



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

def to_s
  @data.to_s
end