I seem to remember that Lua has something similar to the Ruby method_missing. Or do I remember wrong?
__indexand metatable__newindex tables can be used with the same effect as Ruby .method_missing
__index
__newindex
method_missing