From cf049dcdd8913bf79e5d33b41a5c5eda62d978e4 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Fri, 23 Jan 2015 20:49:38 +0100 Subject: All specs fixed --- lib/carlosgoce/layout/layouts.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/carlosgoce/layout/layouts.rb b/lib/carlosgoce/layout/layouts.rb index 7871ebb..8cdb420 100644 --- a/lib/carlosgoce/layout/layouts.rb +++ b/lib/carlosgoce/layout/layouts.rb @@ -1,8 +1,13 @@ +require 'rubygems' +require 'Prawn' + module CarlosGoce module Layout class Simple def create (file, data, year) - + Prawn::Document.generate(file) do + text 'Hello World' + end end end end -- cgit v1.2.3