more better super docs, better switch docs

This commit is contained in:
Jeremy Ashkenas
2009-12-23 20:48:55 -05:00
parent 64879cdc66
commit cdfb5091be
4 changed files with 40 additions and 14 deletions

View File

@@ -2,6 +2,8 @@ switch day
case "Tuesday" then eat_breakfast()
case "Wednesday" then go_to_the_park()
case "Saturday"
if day is bingo_day then go_to_bingo().
if day is bingo_day
go_to_bingo()
go_dancing().
case "Sunday" then go_to_church()
else go_to_work().