mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
fixed typo in docs
This commit is contained in:
parent
9d8690f58b
commit
1bedf81ca8
@ -799,7 +799,9 @@ The class object has a couple special properties:
|
||||
The name of the class as when it was declared is stored as a string in the
|
||||
`__name` field of the class object.
|
||||
|
||||
```moon
|
||||
print BackPack.__name -- prints Backpack
|
||||
```
|
||||
|
||||
The *base* object is stored in `__base`. We can modify this table to add
|
||||
functionality to instances that have already been created and ones that are yet
|
||||
|
Loading…
Reference in New Issue
Block a user