diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 02:20:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 02:20:33 +0000 |
commit | 6b6549f2b220f8199d08ff82fd6a5beb0b6298c3 (patch) | |
tree | ae1a8f439fe25802838c039651e4a1b57a26c882 /lib | |
parent | c8ea09b60d1cce95c08dc2cb214d54008a1a3eeb (diff) | |
download | redmine-6b6549f2b220f8199d08ff82fd6a5beb0b6298c3.tar.gz redmine-6b6549f2b220f8199d08ff82fd6a5beb0b6298c3.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf/wiki_pdf_helper.rb | 19 |
1 files changed, 11 insertions, 8 deletions
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) |