aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:17:16 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-23 20:17:16 +0100
commitdbc31d0d10db59c4b763ca84d154ed7ee3ce6abc (patch)
treeb720a943098b54094a0f37ecbb4510a2892a6ba3 /lib
parent65a1a5edeebb0ccab20a967c077c508982a9dfb9 (diff)
downloadpdf-calendars-dbc31d0d10db59c4b763ca84d154ed7ee3ce6abc.tar.gz
pdf-calendars-dbc31d0d10db59c4b763ca84d154ed7ee3ce6abc.tar.bz2
pdf-calendars-dbc31d0d10db59c4b763ca84d154ed7ee3ce6abc.zip
New class layout and method generate on calendar
Diffstat (limited to 'lib')
-rw-r--r--lib/carlosgoce/calendar.rb4
-rw-r--r--lib/carlosgoce/layouts.rb7
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/carlosgoce/calendar.rb b/lib/carlosgoce/calendar.rb
index 96ac182..370ada6 100644
--- a/lib/carlosgoce/calendar.rb
+++ b/lib/carlosgoce/calendar.rb
@@ -29,5 +29,9 @@ module CarlosGoce
end
}
end
+
+ def generate(layout, file)
+ layout.create file
+ end
end
end
diff --git a/lib/carlosgoce/layouts.rb b/lib/carlosgoce/layouts.rb
new file mode 100644
index 0000000..65d5ad1
--- /dev/null
+++ b/lib/carlosgoce/layouts.rb
@@ -0,0 +1,7 @@
+module CarlosGoce
+ class Layout
+ def create(file)
+
+ end
+ end
+end \ No newline at end of file