Merge pull request #37 from zeckalpha/feature/docs-todos

Feature/docs todos
This commit is contained in:
Bob Nystrom
2014-02-19 07:12:33 -08:00
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
^title Classes
**TODO: Refactor `method-calls` and `classes` into using and creating classes.**
Every value in Wren is an object, and every object is an instance of a class.
Even `true` and `false` are full-featured objects—instances of the `Bool` class.
@ -55,6 +57,8 @@ When you [call](method-calls.html) the `prance` method, it selects the right one
**TODO: Defining operators and setters.**
**TODO: `static` methods.**
## Constructors
To create a new instance of a class, you use the `new` keyword. We can make a unicorn like so:

View File

@ -1,5 +1,7 @@
^title Method Calls
**TODO: Refactor `method-calls` and `classes` into using and creating classes.**
Wren is object-oriented, so most code consists of method calls. Most of them
look like so: