Sha256: e17f6209c6ab6aaacd20c44510bfb253da91b60e2ede28841211a9d1384dcec1

Contents?: true

Size: 696 Bytes

Versions: 4

Compression:

Stored size: 696 Bytes

Contents

require 'rhet-butler/slide-rendering'
require 'rhet-butler/arrangement-finder'
require 'rhet-butler/slide-arranger'

module RhetButler
  class SlideProcessor
    attr_accessor :root_group, :blueprint, :default_content_filters, :default_note_filters
    attr_reader :slides

    def process
      rendering = SlideRendering.new
      rendering.root_group = @root_group
      rendering.traverse

      finder = ArrangementFinder.new
      finder.root_group = @root_group
      finder.blueprint = @blueprint
      finder.traverse

      arranger = SlideArranger.new
      arranger.root_arrangement = finder.root_arrangement
      arranger.traverse

      @slides = arranger.slides
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rhet-butler-0.11.1 lib/rhet-butler/slide-processor.rb
rhet-butler-0.11.0 lib/rhet-butler/slide-processor.rb
rhet-butler-0.10.0 lib/rhet-butler/slide-processor.rb
rhet-butler-0.9.0 lib/rhet-butler/slide-processor.rb