aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-01-04 15:43:39 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-01-04 15:43:39 +0100
commit759d49d1a8ab6d444f443cc4afa80257f18d09d3 (patch)
tree3e7f284b627f52b5a0c2649cbdb15598b75e4341
parentee11b552b4079754d0a69413d166d06d59951fcc (diff)
downloadpdf-calendars-759d49d1a8ab6d444f443cc4afa80257f18d09d3.tar.gz
pdf-calendars-759d49d1a8ab6d444f443cc4afa80257f18d09d3.tar.bz2
pdf-calendars-759d49d1a8ab6d444f443cc4afa80257f18d09d3.zip
Minor fixups.
No space between method name and arg list. Remove unused var.
-rw-r--r--lib/carlosgoce/layout/layouts.rb4
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