Add a Platform class.

- Rename the "process" module to "os".
- Add Platform to it.
- Static "name" method.
- Static "isPosix" method.
- Docs and tests!
This commit is contained in:
Bob Nystrom
2016-05-21 12:44:17 -07:00
parent 6bcc64eb61
commit 06731f66d4
20 changed files with 170 additions and 65 deletions
+1 -1
View File
@@ -44,6 +44,6 @@ applications that want to embed Wren.
[libuv]: http://libuv.org
* [io](io)
* [process](process)
* [os](os)
* [scheduler](scheduler)
* [timer](timer)