]> source.dussan.org Git - redmine.git/commitdiff
shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Nov 2020 15:49:29 +0000 (15:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 30 Nov 2020 15:49:29 +0000 (15:49 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20529 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf/issues_pdf_helper.rb

index d45422b7d631ecca88c46c04cb3394023fe4f8cf..66f2d91bfad5cf494c6e09259cb91d52b4e94efe 100644 (file)
@@ -99,15 +99,19 @@ module Redmine
 
             item = left[i]
             pdf.SetFontStyle('B',9)
-            pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "", (i == 0 ? border_first_top : border_first), '', 0, 0)
+            pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "",
+                             (i == 0 ? border_first_top : border_first), '', 0, 0)
             pdf.SetFontStyle('',9)
-            pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", (i == 0 ? border_last_top : border_last), '', 0, 0)
+            pdf.RDMMultiCell(60, height, item ? item.last.to_s : "",
+                             (i == 0 ? border_last_top : border_last), '', 0, 0)
 
             item = right[i]
             pdf.SetFontStyle('B',9)
-            pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "",  (i == 0 ? border_first_top : border_first), '', 0, 0)
+            pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "",
+                             (i == 0 ? border_first_top : border_first), '', 0, 0)
             pdf.SetFontStyle('',9)
-            pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", (i == 0 ? border_last_top : border_last), '', 0, 2)
+            pdf.RDMMultiCell(60, height, item ? item.last.to_s : "",
+                             (i == 0 ? border_last_top : border_last), '', 0, 2)
 
             pdf.set_x(base_x)
           end