Update comment of calculate_progress method

This commit is contained in:
Björn Geuken 2015-05-16 15:17:20 +02:00
parent fc56c06991
commit 5043d26cc5

View file

@ -207,7 +207,7 @@ class Event < ActiveRecord::Base
# Returns the progress of the proposal's set up
#
# ====Returns
# * +Fixnum+ -> Progress in Percent
# * +String+ -> Progress in Percent
def calculate_progress
result = self.progress_status
true_items = result.select { |_key, value| value }.length