Class: ReadXls::RecordHandler::Boolerr

Inherits:
Base
  • Object
show all
Defined in:
lib/read_xls/record_handler/boolerr.rb

Instance Attribute Summary

Attributes inherited from Base

#biff, #builder, #record_data, #record_number

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from ReadXls::RecordHandler::Base

Instance Method Details

#callObject



4
5
6
7
8
# File 'lib/read_xls/record_handler/boolerr.rb', line 4

def call
  row, column, _, value, _ = record_data.unpack("v3C2")

  builder.add_column_to_row(row, column, ::ReadXls::Evaluator::Boolean.new(value))
end