Make IO a static class instead of a singleton.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class Foo {
|
||||
static sayName {
|
||||
io.write(Foo.toString)
|
||||
IO.write(Foo.toString)
|
||||
}
|
||||
|
||||
sayName {
|
||||
io.write(Foo.toString)
|
||||
IO.write(Foo.toString)
|
||||
}
|
||||
|
||||
static toString { return "Foo!" }
|
||||
|
||||
Reference in New Issue
Block a user