summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-30 15:49:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-30 15:49:29 +0000
commit974077363d611035c59843b223696bfc322e0e89 (patch)
tree38cf2f134d33daa0ef5ecd9eee0e6e46fb08c61c /lib
parente23eeb8795cf15aa571285aa79f219cafc7879a0 (diff)
downloadredmine-974077363d611035c59843b223696bfc322e0e89.tar.gz
redmine-974077363d611035c59843b223696bfc322e0e89.zip
shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20529 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf/issues_pdf_helper.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb
index d45422b7d..66f2d91bf 100644
--- a/lib/redmine/export/pdf/issues_pdf_helper.rb
+++ b/lib/redmine/export/pdf/issues_pdf_helper.rb
@@ -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