summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 13:18:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 13:18:43 +0000
commit0bc794965f1bd37a1cd344661d29bcc081a0d5d0 (patch)
treeb6625661a9db00de8f0adce75adc679e29d9f2ad /lib
parent672d3f3917b5f045b3a147c57f422fb275dfacb2 (diff)
downloadredmine-0bc794965f1bd37a1cd344661d29bcc081a0d5d0.tar.gz
redmine-0bc794965f1bd37a1cd344661d29bcc081a0d5d0.zip
cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/helpers/gantt.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/helpers/gantt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index f9040d335..ad4b3c04f 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -675,7 +675,7 @@ module Redmine
end
def sort_issue_logic(issue)
- julian_date = Date.new()
+ julian_date = Date.new
ancesters_start_date = []
current_issue = issue
begin
@@ -938,7 +938,7 @@ module Redmine
end
def pdf_task(params, coords, markers, label, object)
- cell_height_ratio = params[:pdf].get_cell_height_ratio()
+ cell_height_ratio = params[:pdf].get_cell_height_ratio
params[:pdf].set_cell_height_ratio(0.1)
height = 2