Sha256: ed0c2e0ff0bba91bd0a2139a7a1f85ea578a467a8b18aaf375d4ecad7ec99719
Contents?: true
Size: 493 Bytes
Versions: 13
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true require_relative 'pptx_parser/presentation' module OoxmlParser # Basic class for parsing pptx class PptxParser # Parse pptx file # @param path_to_file [String] file path # @return [Presentation] result of parse def self.parse_pptx(path_to_file) file = OoxmlFile.new(path_to_file) Parser.parse_format(file) do |yielded_file| Presentation.new(unpacked_folder: yielded_file.path_to_folder).parse end end end end
Version data entries
13 entries across 13 versions & 1 rubygems