Class: Rspreadsheet::WorkbookIO
- Inherits:
-
Object
- Object
- Rspreadsheet::WorkbookIO
- Defined in:
- lib/rspreadsheet/workbook.rb
Loading and saving related methods collapse
-
#initialize(workbook) ⇒ WorkbookIO
constructor
A new instance of WorkbookIO.
- #read ⇒ Object
Constructor Details
#initialize(workbook) ⇒ WorkbookIO
Returns a new instance of WorkbookIO.
230 231 232 |
# File 'lib/rspreadsheet/workbook.rb', line 230 def initialize(workbook) @workbook = workbook end |
Instance Method Details
#read ⇒ Object
233 234 235 |
# File 'lib/rspreadsheet/workbook.rb', line 233 def read buffer.string end |