Created
November 2, 2015 10:58
-
-
Save deathbeam/da09649f375ca4c4b1bc to your computer and use it in GitHub Desktop.
Static constructors in Raxe
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
# vim: set ft=rb: | |
class @ | |
def @new() | |
trace("Hello ") | |
end | |
def @main() | |
trace("World") | |
end | |
end | |
# Output to console: | |
# > Hello World |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment