lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Monday, October 14, 2013 03:16:06 PM Sean Conner wrote:
> 	info.use_extension_a = false
> 	info.use_option_2 = false
> 	-- and a billion other options I don't care about
> 

setmetatable(info, {
  __index=function(name)
    return name:match"^use_" and false
  end})


-- 
tom <telliamed@whoopdedo.org>