class ReadXls::RecordHandler::Xf

Public Instance Methods

call() click to toggle source
# File lib/read_xls/record_handler/xf.rb, line 4
def call
  format_index = record_data
                   .byteslice(2, 2)
                   .unpack("v")
                   .first

  builder.add_extended_format(
    ::ReadXls::Evaluator::ExtendedFormat.new(
      :builder      => builder,
      :format_index => format_index
    )
  )
end