lib/rabbit/renderer/print/cairo.rb in rabbit-2.1.6 vs lib/rabbit/renderer/print/cairo.rb in rabbit-2.1.7
- old
+ new
@@ -1,14 +1,5 @@
-require "rabbit/utils"
-
-Rabbit::Utils.require_safe "rabbit/renderer/engine/cairo"
-
-if !(Cairo.const_defined?(:PSSurface) or
- Cairo.const_defined?(:PDFSurface) or
- Cairo.const_defined?(:SVGSurface))
- raise LoadError
-end
-
+require "rabbit/renderer/engine/cairo"
require "rabbit/renderer/print/base"
module Rabbit
module Renderer
module Print