Doesn't Lua have anything comparable to the Ruby method_missing?

I seem to remember that Lua has something similar to the Ruby method_missing. Or do I remember wrong?

+5
source share
1 answer

__indexand metatable__newindex tables can be used with the same effect as Ruby .method_missing

+8
source

All Articles