Module: DeliverablesHelper

Defined in:
app/helpers/deliverables_helper.rb

Instance Method Summary collapse

Instance Method Details

#display_maximum_scoreObject


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'app/helpers/deliverables_helper.rb', line 2

def display_maximum_score
grading_type= GradingRule.get_grade_type(@course.id)



case grading_type
  when "letter"
    val="A"
    return val
  when "points"
    return @deliverable.assignment.maximum_score
  when "weights"
    val= "100%"
    return val
  end
end