|
|
|
@ -28,7 +28,7 @@ module Legacy
|
|
|
|
enum :target_group, %i[unknown for_students for_teachers for_parents]
|
|
|
|
enum :target_group, %i[unknown for_students for_teachers for_parents]
|
|
|
|
|
|
|
|
|
|
|
|
def source
|
|
|
|
def source
|
|
|
|
target_group.gsub('for_', '')
|
|
|
|
target_group.gsub("for_", "")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def options
|
|
|
|
def options
|
|
|
|
@ -69,7 +69,7 @@ module Legacy
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def normalized_text
|
|
|
|
def normalized_text
|
|
|
|
text.gsub('[science/math/English/social studies]', '')
|
|
|
|
text.gsub("[science/math/English/social studies]", "")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|