From 759d49d1a8ab6d444f443cc4afa80257f18d09d3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 4 Jan 2020 15:43:39 +0100 Subject: Minor fixups. No space between method name and arg list. Remove unused var. --- lib/carlosgoce/layout/layouts.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/carlosgoce/layout') 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 -- cgit v1.2.3