Class: PPTXMarkdown::Builders::Markdown
- Inherits:
-
Struct
- Object
- Struct
- PPTXMarkdown::Builders::Markdown
- Defined in:
- lib/pptx_markdown/builders/markdown.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
3 4 5 |
# File 'lib/pptx_markdown/builders/markdown.rb', line 3 def output_path @output_path end |
#presentation ⇒ Object
Returns the value of attribute presentation
3 4 5 |
# File 'lib/pptx_markdown/builders/markdown.rb', line 3 def presentation @presentation end |
Instance Method Details
#call ⇒ Object
4 5 6 |
# File 'lib/pptx_markdown/builders/markdown.rb', line 4 def call File.open(output_path, 'w') { |f| f.write(presentation.to_markdown) } end |