From 0bc794965f1bd37a1cd344661d29bcc081a0d5d0 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 13:18:43 +0000 Subject: 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 --- lib/redmine/helpers/gantt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3