Merge branch 'add-read-string' of git://github.com/pwoolcoc/wren into pwoolcoc-add-read-string

Conflicts:
	builtin/io.wren
	src/wren_io.c
This commit is contained in:
Bob Nystrom
2015-01-11 20:05:52 -08:00
2 changed files with 27 additions and 0 deletions
+5
View File
@@ -79,6 +79,11 @@ class IO {
return obj
}
static read(prompt) {
IO.write(prompt)
return IO.read
}
static writeObject_(obj) {
var string = obj.toString
if (string is String) {