Created
November 13, 2011 12:04
-
-
Save sriki77/1362038 to your computer and use it in GitHub Desktop.
Io Day 1
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
#!/usr/bin/env io | |
Vehicle := Object clone | |
Vehicle desc := "Moving Object" | |
Car := Vehicle clone | |
Car drive := method ("Vrooom..." println) | |
ferrari := Car clone | |
Car drive | |
Car slotNames println |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment