1
0
Fork 0
mirror of https://github.com/Reuh/classtoi.git synced 2025-10-27 12:19:31 +00:00

Add classtoi-light

This commit is contained in:
Étienne Fildadut 2020-01-01 19:31:43 +01:00
parent 4db788df32
commit 3bb90f9034
6 changed files with 128 additions and 1 deletions

13
CHANGELOG Normal file
View file

@ -0,0 +1,13 @@
0.1.4:
- :new non-nil custom returns values now replace the usual returned instance
- Custom inherited __index metamethods are now called on the correct class instead of the class it is defined in.
- Added tests.
0.1.3:
- Added __name attribute in BaseClass for a more informative __tostring.
- Fixed instanciation error when no custom :new method is defined.
0.1.2:
- Calling class.new(table, ...) now call the class constructor on the table instead of creating a new object.
0.1.1:
- Fixed a lot of bugs of the default class __tostring.
0.1.0:
- Initial version.