Class: Gaku::Grading::Collection::Percentage
- Inherits:
-
BaseMethod
- Object
- BaseMethod
- Gaku::Grading::Collection::Percentage
- Defined in:
- lib/gaku/grading/collection/percentage.rb
Instance Attribute Summary
Attributes inherited from BaseMethod
#criteria, #gradable, #gradable_scope, #gradable_type, #results, #students
Instance Method Summary collapse
Methods inherited from BaseMethod
Constructor Details
This class inherits a constructor from Gaku::Grading::Collection::BaseMethod
Instance Method Details
#grade_exam ⇒ Object
3 4 5 6 7 8 |
# File 'lib/gaku/grading/collection/percentage.rb', line 3 def grade_exam @students.each do |student| @result << Gaku::Grading::Single::Percentage.new(@gradable, student, gradable_scope).grade_exam end @result end |