2010-01-26 15:52:05 +00:00
|
|
|
grade: (student) ->
|
2009-12-21 16:41:45 +00:00
|
|
|
if student.excellent_work
|
|
|
|
"A+"
|
|
|
|
else if student.okay_stuff
|
2009-12-30 05:22:27 +00:00
|
|
|
if student.tried_hard then "B" else "B-"
|
2009-12-21 16:41:45 +00:00
|
|
|
else
|
2009-12-30 05:22:27 +00:00
|
|
|
"C"
|
2009-12-21 16:41:45 +00:00
|
|
|
|
2009-12-30 05:22:27 +00:00
|
|
|
eldest: if 24 > 21 then "Liz" else "Ike"
|