mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 15:38:21 -07:00
Refactor graphs to take new slice format Add Students and Teachers and Parents graph. Add selector for that graph
17 lines
265 B
Ruby
17 lines
265 B
Ruby
module Analyze
|
|
module Slice
|
|
class Base
|
|
attr_reader :graph, :label, :slug
|
|
|
|
def initialize(label:, slug:, graph:)
|
|
@label = label
|
|
@slug = slug
|
|
@graph = graph
|
|
end
|
|
|
|
def to_s
|
|
label
|
|
end
|
|
end
|
|
end
|
|
end
|