From 672d3f3917b5f045b3a147c57f422fb275dfacb2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 13:18:32 +0000 Subject: [PATCH] cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - lib/redmine/export/pdf.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 717f39125..692d8b62a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1178,7 +1178,6 @@ Style/LineEndConcatenation: # Configuration parameters: IgnoredMethods. Style/MethodCallWithoutArgsParentheses: Exclude: - - 'lib/redmine/export/pdf.rb' - 'lib/redmine/helpers/gantt.rb' - 'lib/redmine/scm/adapters/cvs_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb' diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 987f2b989..c8189367b 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -127,7 +127,7 @@ module Redmine RDMCell(0, 5, @footer_date, 0, 0, 'L') end set_x(-30) - RDMCell(0, 5, get_alias_num_page() + '/' + get_alias_nb_pages(), 0, 0, 'C') + RDMCell(0, 5, get_alias_num_page + '/' + get_alias_nb_pages, 0, 0, 'C') end end -- 2.39.5