Fix others additional lints
This commit is contained in:
parent
763f864dc9
commit
056fe5ec3f
18 changed files with 33 additions and 34 deletions
|
|
@ -639,7 +639,7 @@ class Conference < ActiveRecord::Base
|
|||
# ====Returns
|
||||
# * +Fixnum+ -> Progress in Percent
|
||||
def calculate_setup_progress(result)
|
||||
(result.select { |k, v| v }.length / result.length.to_f * 100).round(0).to_s
|
||||
(result.select { |_k, v| v }.length / result.length.to_f * 100).round(0).to_s
|
||||
end
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue