Sha256: 79edfad6379b72c11cdb003e94f712046719479cc79cc3dafee87d23cdb487b2

Contents?: true

Size: 286 Bytes

Versions: 6

Compression:

Stored size: 286 Bytes

Contents

require_relative 'renderers/html_with_rouge'

module Parade

  module SlidePreRenderers
    extend self

    def register(renderer)
      renderers.push renderer
    end

    def renderers
      @renderers ||= []
    end
  end

  SlidePreRenderers.register Renderers::HTMLWithRouge

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
parade-0.10.2 lib/parade/slide_pre_renderers.rb
parade-0.10.1 lib/parade/slide_pre_renderers.rb
parade-0.10.0 lib/parade/slide_pre_renderers.rb
parade-0.9.2 lib/parade/slide_pre_renderers.rb
parade-0.9.1 lib/parade/slide_pre_renderers.rb
parade-0.9.0 lib/parade/slide_pre_renderers.rb