Created
February 27, 2013 19:46
-
-
Save jaytaph/5051052 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import io; | |
class foo { | |
public method bar() { | |
io.print("Hi, this is ", self.__name(), ".bar\n"); | |
} | |
} |
This file contains hidden or 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
import foo; | |
f = foo(); | |
foo.bar(); | |
// Outputs: Hi, this is foo.bar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment