Method: Spreadsheet::Excel::Workbook#initialize

Defined in:
lib/spreadsheet/excel/workbook.rb

#initialize(*args) ⇒ Workbook

Returns a new instance of Workbook.



34
35
36
37
38
39
40
41
42
43
# File 'lib/spreadsheet/excel/workbook.rb', line 34

def initialize *args
  super
  enc = 'UTF-16LE'
  if RUBY_VERSION >= '1.9'
    enc = Encoding.find enc
  end
  @encoding = enc
  @version = 0x600
  @sst = []
end