|
On Tue, Mar 19, 2013 at 2:56 PM, phil anc <philanc@gmail.com> wrote:Metatables aren't terribly difficult, really. Here's how I usually
> ...And I don't want to wrap my head every time around metatables and __index
> :-) so I came up with the following 'class' definition:
>
define objects:
return setmetatable(self, {__index=myObjectMethod})