Sha256: 1c5eb89aa60ab2c2e558085eb437f00f2f52d69fb28346965ba1fe57f786dad4

Contents?: true

Size: 395 Bytes

Versions: 6

Compression:

Stored size: 395 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)
      Parser.parse_format(path_to_file) do
        XLSXWorkbook.new.parse
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ooxml_parser-0.29.0 lib/ooxml_parser/xlsx_parser.rb
ooxml_parser-0.28.0 lib/ooxml_parser/xlsx_parser.rb
ooxml_parser-0.27.0 lib/ooxml_parser/xlsx_parser.rb
ooxml_parser-0.26.0 lib/ooxml_parser/xlsx_parser.rb
ooxml_parser-0.25.0 lib/ooxml_parser/xlsx_parser.rb
ooxml_parser-0.24.0 lib/ooxml_parser/xlsx_parser.rb