Class: Rspreadsheet::Row
- Inherits:
-
Object
- Object
- Rspreadsheet::Row
- Defined in:
- lib/rspreadsheet/row.rb
Instance Method Summary collapse
- #cells(coli) ⇒ Object
-
#initialize(workbook, rowi) ⇒ Row
constructor
A new instance of Row.
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 |