Dashboard/app/presenters/dashboard/analyze/graph/column/sped_column/unknown.rb

36 lines
752 B
Ruby

# frozen_string_literal: true
module Dashboard
module Analyze
module Graph
module Column
module SpedColumn
class Unknown < GroupedBarColumnPresenter
include Analyze::Graph::Column::SpedColumn::ScoreForSped
include Analyze::Graph::Column::SpedColumn::SpedCount
def label
%w[Unknown]
end
def basis
"student"
end
def show_irrelevancy_message?
false
end
def show_insufficient_data_message?
false
end
def sped
Dashboard::Sped.find_by_slug "unknown"
end
end
end
end
end
end
end