Lin Jen-Shin 2016-09-06 18:12:46 +08:00
parent 413516081b
commit b92c75ab98
1 changed files with 1 additions and 3 deletions

View File

@ -133,9 +133,7 @@ module Gitlab
end
def process_duration(periods)
periods.inject(0) do |result, per|
result + per.duration
end
periods.sum(&:duration)
end
end
end