Sha256: 8023a47ffdee7936b29b48cd6749ec40e427232f55ad3783e62f73c12b2b712d

Contents?: true

Size: 505 Bytes

Versions: 37

Compression:

Stored size: 505 Bytes

Contents

require "rabbit/utils"

require "rabbit/renderer/color"
require "rabbit/renderer/display"
require "rabbit/renderer/pixmap"
require "rabbit/renderer/print"

module Rabbit
  module Renderer
    extend Utils

    class << self
      def printable?
        Print.printable?
      end

      def printable_renderer(slides_per_page)
        raise NoPrintSupportError unless printable?
        if slides_per_page > 1
          Print::Multiple
        else
          Print
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rabbit-2.1.9 lib/rabbit/renderer.rb
rabbit-2.1.8 lib/rabbit/renderer.rb
rabbit-2.1.7 lib/rabbit/renderer.rb
rabbit-2.1.6 lib/rabbit/renderer.rb
rabbit-2.1.5 lib/rabbit/renderer.rb
rabbit-2.1.4 lib/rabbit/renderer.rb
rabbit-2.1.3 lib/rabbit/renderer.rb
rabbit-2.1.2 lib/rabbit/renderer.rb
rabbit-2.1.1 lib/rabbit/renderer.rb
rabbit-2.1.0 lib/rabbit/renderer.rb
rabbit-2.0.9 lib/rabbit/renderer.rb
rabbit-2.0.8 lib/rabbit/renderer.rb
rabbit-2.0.7 lib/rabbit/renderer.rb
rabbit-2.0.6 lib/rabbit/renderer.rb
rabbit-2.0.5 lib/rabbit/renderer.rb
rabbit-2.0.4 lib/rabbit/renderer.rb
rabbit-2.0.3 lib/rabbit/renderer.rb
rabbit-2.0.2 lib/rabbit/renderer.rb
rabbit-2.0.1 lib/rabbit/renderer.rb
rabbit-2.0.0 lib/rabbit/renderer.rb