Calculate the total score from the rubric.

This commit is contained in:
Diana Huang
2013-02-01 10:17:16 -05:00
parent f05bda7644
commit 0ec3be1815

View File

@@ -16,6 +16,10 @@ class @Rubric
@get_total_score: () ->
score_lst = @get_score_list()
tot = 0
for score in score_lst
tot += parseInt(score)
return tot
@check_complete: () ->
# check to see whether or not any categories have not been scored