diff options
author | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 20:49:38 +0100 |
---|---|---|
committer | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 20:49:38 +0100 |
commit | cf049dcdd8913bf79e5d33b41a5c5eda62d978e4 (patch) | |
tree | 54ffc69bcd3f5f2b1a29ca6fb293690bbc822f4d | |
parent | 0ead2c0121026f70b6a98348cc1d71e11ced5a38 (diff) | |
download | pdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.tar.gz pdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.tar.bz2 pdf-calendars-cf049dcdd8913bf79e5d33b41a5c5eda62d978e4.zip |
All specs fixed
-rw-r--r-- | lib/carlosgoce/layout/layouts.rb | 7 |
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 |