Class: Ballmer::Presentation

Inherits:
Document show all
Defined in:
lib/ballmer/presentation.rb,
lib/ballmer/presentation/tags.rb,
lib/ballmer/presentation/notes.rb,
lib/ballmer/presentation/slide.rb,
lib/ballmer/presentation/slides.rb,
lib/ballmer/presentation/notes_parser.rb

Overview

Represents a presentation that has many slides.

Defined Under Namespace

Classes: Notes, NotesParser, Slide, Slides, Tags

Instance Attribute Summary

Attributes inherited from Document

#archive

Instance Method Summary collapse

Methods inherited from Document

#content_types, #edit_xml, #initialize, open, read, #xml

Constructor Details

This class inherits a constructor from Ballmer::Document

Instance Method Details

#presentationObject

Presentation XML file.



16
17
18
# File 'lib/ballmer/presentation.rb', line 16

def presentation
  XMLPart.new(self, '/ppt/presentation.xml')
end

#slidesObject

Return an array of slides.



11
12
13
# File 'lib/ballmer/presentation.rb', line 11

def slides
  @slides ||= Slides.new(self)
end