Class: PPTXMarkdown::Parsers::PPTX
- Inherits:
-
Struct
- Object
- Struct
- PPTXMarkdown::Parsers::PPTX
- Defined in:
- lib/pptx_markdown/parsers/pptx.rb
Constant Summary collapse
- CONTENT_PATH =
'p:txBody/a:p/a:r/a:t'.freeze
- TYPE_PATH =
'p:nvSpPr/p:nvPr/p:ph'.freeze
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
3 4 5 |
# File 'lib/pptx_markdown/parsers/pptx.rb', line 3 def path @path end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/pptx_markdown/parsers/pptx.rb', line 11 def call PPTXMarkdown::Presentation.new() end |
#document ⇒ Object
7 8 9 |
# File 'lib/pptx_markdown/parsers/pptx.rb', line 7 def document @document ||= Zip::File.open(path) end |