aboutsummaryrefslogtreecommitdiffstats
path: root/lib/carlosgoce/calendar.rb
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:22:49 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:22:49 +0100
commit77b432f7914736f4c8507693563790e5cae0aa7a (patch)
tree9d61ee9b8d6259c35c22c389334bd3b3b05ecefd /lib/carlosgoce/calendar.rb
parentdbc31d0d10db59c4b763ca84d154ed7ee3ce6abc (diff)
downloadpdf-calendars-77b432f7914736f4c8507693563790e5cae0aa7a.tar.gz
pdf-calendars-77b432f7914736f4c8507693563790e5cae0aa7a.tar.bz2
pdf-calendars-77b432f7914736f4c8507693563790e5cae0aa7a.zip
Improve generate method
Diffstat (limited to 'lib/carlosgoce/calendar.rb')
-rw-r--r--lib/carlosgoce/calendar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/carlosgoce/calendar.rb b/lib/carlosgoce/calendar.rb
index 370ada6..429cc0e 100644
--- a/lib/carlosgoce/calendar.rb
+++ b/lib/carlosgoce/calendar.rb
@@ -31,7 +31,7 @@ module CarlosGoce
end
def generate(layout, file)
- layout.create file
+ layout.create file, to_h
end
end
end