From 6b6549f2b220f8199d08ff82fd6a5beb0b6298c3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 02:20:33 +0000 Subject: cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/export/pdf/wiki_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18982 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/pdf/wiki_pdf_helper.rb | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/redmine/export/pdf/wiki_pdf_helper.rb b/lib/redmine/export/pdf/wiki_pdf_helper.rb index 0fe6e3075..1751fdb12 100644 --- a/lib/redmine/export/pdf/wiki_pdf_helper.rb +++ b/lib/redmine/export/pdf/wiki_pdf_helper.rb @@ -46,8 +46,9 @@ module Redmine pdf.footer_date = format_date(User.current.today) pdf.add_page pdf.SetFontStyle('B',11) - pdf.RDMMultiCell(190,5, - "#{project} - #{page.title} - # #{page.content.version}") + pdf.RDMMultiCell( + 190,5, + "#{project} - #{page.title} - # #{page.content.version}") pdf.ln # Set resize image scale pdf.set_image_scale(1.6) @@ -70,12 +71,14 @@ module Redmine end def write_wiki_page(pdf, page) - text = textilizable(page.content, :text, - :only_path => false, - :edit_section_links => false, - :headings => false, - :inline_attachments => false - ) + text = + textilizable( + page.content, :text, + :only_path => false, + :edit_section_links => false, + :headings => false, + :inline_attachments => false + ) pdf.RDMwriteFormattedCell(190,5,'','', text, page.attachments, 0) if page.attachments.any? pdf.ln(5) -- cgit v1.2.3