Make IO.write() call toString on its argument.

This commit is contained in:
Bob Nystrom
2013-12-22 11:50:00 -08:00
parent 2ec01c558f
commit 7868287f89
6 changed files with 130 additions and 12 deletions
+2
View File
@@ -0,0 +1,2 @@
class Foo {}
IO.write((new Foo).toString) // expect: <object>