Class: BackupRecord

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

Overview

This record contains a Boolean value determining whether Excel makes a backup of the file while saving.

Constant Summary collapse

RECORD_ID =
0x0040

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(backup) ⇒ BackupRecord

Returns a new instance of BackupRecord.



332
333
334
# File 'lib/surpass/biff_record.rb', line 332

def initialize(backup)
  @record_data = [backup].pack('v')
end