diff options
-rw-r--r-- | lib/carlosgoce/layout/layouts.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/carlosgoce/layout/layouts.rb b/lib/carlosgoce/layout/layouts.rb index 26452c9..9bc6ec1 100644 --- a/lib/carlosgoce/layout/layouts.rb +++ b/lib/carlosgoce/layout/layouts.rb @@ -5,11 +5,9 @@ require 'prawn/table' module CarlosGoce module Layout class Simple - def create (file, data, year) + def create(file, data, year) tables = [] Prawn::Document.generate(file) do - font_size = 16 - data[:months].each do |k, month| days = month[:formatted_days] cells = days.to_a.each_slice(7).to_a |