mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
34 lines
685 B
Ruby
34 lines
685 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Analyze
|
|
module Graph
|
|
module Column
|
|
module SpedColumn
|
|
class Sped < GroupedBarColumnPresenter
|
|
include Analyze::Graph::Column::SpedColumn::ScoreForSped
|
|
include Analyze::Graph::Column::SpedColumn::SpedCount
|
|
|
|
def label
|
|
%w[Special Education]
|
|
end
|
|
|
|
def basis
|
|
"student"
|
|
end
|
|
|
|
def show_irrelevancy_message?
|
|
false
|
|
end
|
|
|
|
def show_insufficient_data_message?
|
|
false
|
|
end
|
|
|
|
def sped
|
|
::Sped.find_by_slug "special-education"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|