move methods from analyze helper to background presenter

This commit is contained in:
rebuilt 2022-08-01 19:17:06 -07:00
parent 88339c729f
commit c568e8bc06
10 changed files with 115 additions and 77 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module AnalysisGraph
class StudentsAndTeachers
def to_s
@ -7,5 +9,9 @@ module AnalysisGraph
def value
'students-and-teachers'
end
def columns
[StudentGroupedBarColumnPresenter, TeacherGroupedBarColumnPresenter, GroupedBarColumnPresenter]
end
end
end

View file

@ -7,5 +7,9 @@ module AnalysisGraph
def value
'students-by-group'
end
def columns
[StudentGroupedBarColumnPresenter]
end
end
end