aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:49:38 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:49:38 +0100
commitcf049dcdd8913bf79e5d33b41a5c5eda62d978e4 (patch)
tree54ffc69bcd3f5f2b1a29ca6fb293690bbc822f4d /lib
parent0ead2c0121026f70b6a98348cc1d71e11ced5a38 (diff)
downloadpdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.tar.gz
pdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.tar.bz2
pdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.zip
All specs fixed
Diffstat (limited to 'lib')
-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