Class: RKRecord
- Inherits:
-
BiffRecord
- Object
- BiffRecord
- RKRecord
- Defined in:
- lib/surpass/biff_record.rb
Overview
This record represents a cell that contains an RK value (encoded integer or floating-point value). If a floating-point value cannot be encoded to an RK value, a NUMBER record will be written.
Constant Summary collapse
- RECORD_ID =
0x027E
Constants inherited from BiffRecord
BiffRecord::BIFF_LIMIT, BiffRecord::CONTINUE_RECORD_ID
Instance Attribute Summary
Attributes inherited from BiffRecord
Instance Method Summary collapse
-
#initialize(row, col, xf_index, rk_encoded) ⇒ RKRecord
constructor
A new instance of RKRecord.
Methods inherited from BiffRecord
Constructor Details
#initialize(row, col, xf_index, rk_encoded) ⇒ RKRecord
Returns a new instance of RKRecord.
1364 1365 1366 |
# File 'lib/surpass/biff_record.rb', line 1364 def initialize(row, col, xf_index, rk_encoded) @record_data = [row, col, xf_index, rk_encoded].pack('v3V') end |