Sha256: 61ba22669db1b09e750458cdf64001584e5a90b9d416b23f51506f4272631130

Contents?: true

Size: 391 Bytes

Versions: 43

Compression:

Stored size: 391 Bytes

Contents

require 'rabbit/element/title-slide'

module Rabbit
  module Element
    class ImageTitleSlide < TitleSlide

      def initialize(image_path, properties=nil)
        @image_path = image_path
        properties ||= {:as_large_as_possible => true}
        super(Element::Image.new(image_path, properties))
      end

      def theme
        super || "image-viewer"
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rabbit-2.0.5 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.4 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.3 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.2 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.1 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.0 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.9 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.8 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.7 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.6 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.5 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.4 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.3 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.2 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.1 lib/rabbit/element/image-title-slide.rb
rabbit-1.0.0 lib/rabbit/element/image-title-slide.rb
rabbit-0.9.3 lib/rabbit/element/image-title-slide.rb
rabbit-0.9.2 lib/rabbit/element/image-title-slide.rb
rabbit-0.9.1 lib/rabbit/element/image-title-slide.rb
rabbit-0.9.0 lib/rabbit/element/image-title-slide.rb