Module: CoursesHelper

Defined in:
app/helpers/courses_helper.rb

Instance Method Summary collapse

Instance Method Details

#grade_type_points_or_weightsObject


6
7
8
# File 'app/helpers/courses_helper.rb', line 6

def grade_type_points_or_weights
  @course.nil? ? "Points" : @course.grade_type_points_or_weights.capitalize
end

#nomenclature_assignment_or_deliverableObject


2
3
4
# File 'app/helpers/courses_helper.rb', line 2

def nomenclature_assignment_or_deliverable
  @course.nil? ? "Deliverable" : @course.nomenclature_assignment_or_deliverable.capitalize
end