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-3.0.3 lib/rabbit/element/image-title-slide.rb
rabbit-3.0.2 lib/rabbit/element/image-title-slide.rb
rabbit-3.0.1 lib/rabbit/element/image-title-slide.rb
rabbit-3.0.0 lib/rabbit/element/image-title-slide.rb
rabbit-2.2.1 lib/rabbit/element/image-title-slide.rb
rabbit-2.2.0 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.9 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.8 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.7 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.6 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.5 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.4 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.3 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.2 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.1 lib/rabbit/element/image-title-slide.rb
rabbit-2.1.0 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.9 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.8 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.7 lib/rabbit/element/image-title-slide.rb
rabbit-2.0.6 lib/rabbit/element/image-title-slide.rb