From d1d3d417b77d73b87273bec06b28604de494c07d Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Fri, 23 Jan 2015 20:29:00 +0100 Subject: Add year --- lib/carlosgoce/calendar.rb | 4 ++-- lib/carlosgoce/layouts.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/carlosgoce/calendar.rb b/lib/carlosgoce/calendar.rb index 429cc0e..1166f55 100644 --- a/lib/carlosgoce/calendar.rb +++ b/lib/carlosgoce/calendar.rb @@ -30,8 +30,8 @@ module CarlosGoce } end - def generate(layout, file) - layout.create file, to_h + def generate(layout, file, year) + layout.create file, to_h, year end end end diff --git a/lib/carlosgoce/layouts.rb b/lib/carlosgoce/layouts.rb index 962f8cb..f3e171c 100644 --- a/lib/carlosgoce/layouts.rb +++ b/lib/carlosgoce/layouts.rb @@ -1,6 +1,6 @@ module CarlosGoce class Layout - def create(file, hash) + def create(file, hash, year) end end -- cgit v1.2.3