Class: PPTXMarkdown::Builders::PPTX
- Inherits:
-
Struct
- Object
- Struct
- PPTXMarkdown::Builders::PPTX
- Defined in:
- lib/pptx_markdown/builders/pptx.rb
Instance Attribute Summary collapse
-
#output_path ⇒ Object
Returns the value of attribute output_path.
-
#presentation ⇒ Object
Returns the value of attribute presentation.
Instance Method Summary collapse
Instance Attribute Details
#output_path ⇒ Object
Returns the value of attribute output_path
5 6 7 |
# File 'lib/pptx_markdown/builders/pptx.rb', line 5 def output_path @output_path end |
#presentation ⇒ Object
Returns the value of attribute presentation
5 6 7 |
# File 'lib/pptx_markdown/builders/pptx.rb', line 5 def presentation @presentation end |
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/pptx_markdown/builders/pptx.rb', line 6 def call Dir.mktmpdir do |tmp_path| FileUtils.copy_entry template_path, tmp_path (tmp_path) generate_presentation(tmp_path) generate_presentation_rels(tmp_path) create_pptx(tmp_path) end end |