Class: Rspreadsheet::WorkbookIO

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

Loading and saving related methods collapse

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

#readObject



233
234
235
# File 'lib/rspreadsheet/workbook.rb', line 233

def read
  buffer.string
end