2009-12-21 16:41:45 +00:00
|
|
|
grade: student =>
|
|
|
|
if student.excellent_work
|
|
|
|
"A+"
|
|
|
|
else if student.okay_stuff
|
2009-12-22 17:18:27 +00:00
|
|
|
if student.tried_hard then "B" else "B-".
|
2009-12-21 16:41:45 +00:00
|
|
|
else
|
|
|
|
"C"..
|
|
|
|
|
|
|
|
eldest: if 24 > 21 then "Liz" else "Ike".
|