class Rspreadsheet::WorkbookIO
Public Class Methods
new(workbook)
click to toggle source
# File lib/rspreadsheet/workbook.rb, line 230 def initialize(workbook) @workbook = workbook end
Public Instance Methods
read()
click to toggle source
# File lib/rspreadsheet/workbook.rb, line 233 def read buffer.string end
Private Instance Methods
buffer()
click to toggle source
# File lib/rspreadsheet/workbook.rb, line 237 def buffer Zip::OutputStream.write_buffer do |io| @workbook.write_ods_to_io(io) end end