|
I don't understand the problem with making a fake object; infact its really handy; eg, pass in a fake socket to a library that goes to use it like luasocket; or make a fake file handle. Lua has always been good with 'duck typing': don't change it.....