Skip to content

Instantly share code, notes, and snippets.

@deathbeam
Last active December 20, 2015 19:07
Show Gist options
  • Save deathbeam/7b9ba8e73582e835745c to your computer and use it in GitHub Desktop.
Save deathbeam/7b9ba8e73582e835745c to your computer and use it in GitHub Desktop.
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