1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix RuboCop offense Naming/MemoizedInstanceVariableName (#37862, #1671).

git-svn-id: https://svn.redmine.org/redmine/trunk@22860 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-06-05 08:21:59 +00:00
parent 5159d31a8b
commit f9eb77227a

View File

@ -250,7 +250,7 @@ class Version < ApplicationRecord
# Returns the total estimated remaining time for this version
# (sum of leaves estimated_remaining_hours)
def estimated_remaining_hours
@remaining_hours ||= fixed_issues.estimated_remaining_hours
@estimated_remaining_hours ||= fixed_issues.estimated_remaining_hours
end
# Returns the total reported time for this version