aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/carlosgoce/layout/layouts.rb7
1 files changed, 6 insertions, 1 deletions
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