Class: Gaku::Grading::Single::Interval
- Inherits:
-
BaseMethod
- Object
- BaseMethod
- Gaku::Grading::Single::Interval
- Defined in:
- lib/gaku/grading/single/interval.rb
Instance Attribute Summary
Attributes inherited from BaseMethod
#criteria, #gradable, #gradable_scope, #gradable_type, #result, #student
Instance Method Summary collapse
Methods inherited from BaseMethod
Constructor Details
This class inherits a constructor from Gaku::Grading::Single::BaseMethod
Instance Method Details
#grade_exam ⇒ Object
3 4 5 |
# File 'lib/gaku/grading/single/interval.rb', line 3 def grade_exam @result = { id: student.first, score: student.last } end |