diff options
author | Go MAEDA <maeda@farend.jp> | 2024-06-05 08:21:59 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-06-05 08:21:59 +0000 |
commit | f9eb77227a1eb5df9f265b18db0b7ab65cac4e77 (patch) | |
tree | e0803d3ef5b8bcb8a66707bb64f4218a4656b151 | |
parent | 5159d31a8bd83da1f7c587634cacdf8faa44555d (diff) | |
download | redmine-f9eb77227a1eb5df9f265b18db0b7ab65cac4e77.tar.gz redmine-f9eb77227a1eb5df9f265b18db0b7ab65cac4e77.zip |
Fix RuboCop offense Naming/MemoizedInstanceVariableName (#37862, #1671).
git-svn-id: https://svn.redmine.org/redmine/trunk@22860 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index c0d4d0dee..b1327f068 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -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 |