Class: TabIDRecord

Inherits:
BiffRecord show all
Defined in:
lib/surpass/biff_record.rb

Constant Summary collapse

RECORD_ID =
0x013D

Constants inherited from BiffRecord

BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID

Instance Attribute Summary

Attributes inherited from BiffRecord

#record_data

Instance Method Summary collapse

Methods inherited from BiffRecord

#record_header, #to_biff

Constructor Details

#initialize(sheetcount) ⇒ TabIDRecord

Returns a new instance of TabIDRecord.



223
224
225
226
227
228
# File 'lib/surpass/biff_record.rb', line 223

def initialize(sheetcount)
  @record_data = ''
  for i in 1..sheetcount do
    @record_data += [i].pack('v')
  end
end