Class: ReadXls::RecordHandler::Formula
- Defined in:
- lib/read_xls/record_handler/formula.rb
Instance Attribute Summary
Attributes inherited from Base
#biff, #builder, #record_data, #record_number
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ReadXls::RecordHandler::Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/read_xls/record_handler/formula.rb', line 4 def call row, column, xf_index = record_data.byteslice(0, 6).unpack("v3") result_test = record_data.byteslice(12, 2).unpack("v").first number_bytes = record_data.byteslice(6, 8) builder.add_column_to_row( row, column, ::ReadXls::Evaluator::Formula.new(builder, result_test, number_bytes) ) end |