Class: OoxmlParser::PptxParser
- Inherits:
-
Object
- Object
- OoxmlParser::PptxParser
- Defined in:
- lib/ooxml_parser/pptx_parser.rb
Overview
Basic class for parsing pptx
Class Method Summary collapse
-
.parse_pptx(path_to_file) ⇒ Presentation
Parse pptx file.
Class Method Details
.parse_pptx(path_to_file) ⇒ Presentation
Parse pptx file
11 12 13 14 15 16 |
# File 'lib/ooxml_parser/pptx_parser.rb', line 11 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 |