Last active
December 20, 2015 19:07
-
-
Save deathbeam/7b9ba8e73582e835745c to your computer and use it in GitHub Desktop.
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
from Sys import print | |
interface Greeter | |
function greet(name) | |
print "Hello #name" | |
end | |
end | |
class Person | |
include Greeter | |
end | |
Person!greet "Alice" | |
# vim: set ft=rb: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment