Created
August 29, 2017 13:36
-
-
Save perilstar/620b2a468d25bb43382e3ba8aaaeea02 to your computer and use it in GitHub Desktop.
Toaster created by ekyl - https://repl.it/DBZp/0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def toaster str | |
case str | |
when "bread" | |
"toast" | |
when "toast" | |
"extra crispy toast" | |
when "bagel" | |
"pizza" | |
when "poptart" | |
"cooked poptart" | |
when "struedel" | |
"yum" | |
else | |
"burnt " + str | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment