Sha256: 4c116852d325c07ec6caa5f2a775514f00f42fe9bc8c194822e59358bd045467
Contents?: true
Size: 489 Bytes
Versions: 12
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require_relative 'xlsx_parser/workbook' module OoxmlParser # Basic class for parsing xlsx class XlsxParser # Parse xlsx file # @param path_to_file [String] file path # @return [XLSXWorkbook] result of parse def self.parse_xlsx(path_to_file) file = OoxmlFile.new(path_to_file) Parser.parse_format(file) do |yielded_file| XLSXWorkbook.new(unpacked_folder: yielded_file.path_to_folder).parse end end end end
Version data entries
12 entries across 12 versions & 1 rubygems