diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ assert(a:is(Object)) -- use `is()` method for it local Foo = Point:extends() -- you can extend whatever class you want function Foo:new (str, x, y) - self.__super.new(self, x, y) -- call super constructor first + Foo.__super.new(self, x, y) -- call super constructor first self.str = str -- do whatever else is left to be done end |