From dbc31d0d10db59c4b763ca84d154ed7ee3ce6abc Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Fri, 23 Jan 2015 20:17:16 +0100 Subject: New class layout and method generate on calendar --- lib/carlosgoce/calendar.rb | 4 ++++ lib/carlosgoce/layouts.rb | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 lib/carlosgoce/layouts.rb (limited to 'lib') 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 -- cgit v1.2.3