summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 02:20:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 02:20:33 +0000
commit6b6549f2b220f8199d08ff82fd6a5beb0b6298c3 (patch)
treeae1a8f439fe25802838c039651e4a1b57a26c882 /lib
parentc8ea09b60d1cce95c08dc2cb214d54008a1a3eeb (diff)
downloadredmine-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.rb19
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)