class Presentation

Public Instance Methods

load_slides_from_file(filename) click to toggle source
# File lib/presentation.rb, line 13
def load_slides_from_file(filename)
  slide_deck.load_slides_from_file(filename)
end
slide_deck() click to toggle source
# File lib/presentation.rb, line 9
def slide_deck
  @slide_deck ||= SlideDeck.new
end
start() click to toggle source

TODO: Implement something like this def load_theme(filename)

source = File.read(filename)
@theme = Theme.new.parse(source, filename, 0)

end

# File lib/presentation.rb, line 23
def start
  @window = Window.new(slide_deck)
  @window.show
end