mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
# * +Fixnum+ -> Progress in Percent
|
||||
# * +String+ -> Progress in Percent
|
||||
def calculate_progress
|
||||
result = self.progress_status
|
||||
true_items = result.select { |_key, value| value }.length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue