Update comment of calculate_progress method
This commit is contained in:
parent
fc56c06991
commit
5043d26cc5
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ class Event < ActiveRecord::Base
|
||||||
# Returns the progress of the proposal's set up
|
# Returns the progress of the proposal's set up
|
||||||
#
|
#
|
||||||
# ====Returns
|
# ====Returns
|
||||||
# * +Fixnum+ -> Progress in Percent
|
# * +String+ -> Progress in Percent
|
||||||
def calculate_progress
|
def calculate_progress
|
||||||
result = self.progress_status
|
result = self.progress_status
|
||||||
true_items = result.select { |_key, value| value }.length
|
true_items = result.select { |_key, value| value }.length
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue