Class: Rspreadsheet::Row

Inherits:
Object
  • Object
show all
Defined in:
lib/rspreadsheet/row.rb

Instance Method Summary collapse

Constructor Details

#initialize(workbook, rowi) ⇒ Row

Returns a new instance of Row.



8
9
10
11
# File 'lib/rspreadsheet/row.rb', line 8

def initialize(workbook,rowi)
  @rowi = rowi
  @workbook = workbook
end

Instance Method Details

#cells(coli) ⇒ Object



12
13
14
# File 'lib/rspreadsheet/row.rb', line 12

def cells(coli)
  @workbook.cells(@rowi,coli)
end