Module: Gradable

Extended by:
ActiveSupport::Concern
Included in:
Gaku::Course, Gaku::Exam, Gaku::ExamSession
Defined in:
app/models/concerns/gradable.rb

Instance Method Summary collapse

Instance Method Details

#use_primary_grading_method_setObject



11
12
13
14
15
# File 'app/models/concerns/gradable.rb', line 11

def use_primary_grading_method_set
  if Gaku::GradingMethodSet.primary
    grading_methods << Gaku::GradingMethodSet.primary.grading_methods
  end
end