Refactor code based on rubocop and reek suggestions

This commit is contained in:
rebuilt 2022-07-11 16:46:30 -07:00
parent 1737122c80
commit bb5f668497
51 changed files with 296 additions and 146 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Score < Struct.new(:average, :meets_teacher_threshold?, :meets_student_threshold?, :meets_admin_data_threshold?)
NIL_SCORE = Score.new(nil, false, false, false)
end