Lines Matching refs:module
69 -- try_include will return the loaded module on success, or false and the error
71 function try_include(module)
72 if module:sub(1, 1) ~= "/" then
79 module = lua_path .. "/" .. module
85 if module:match(".lua$") == nil then
86 module = module .. ".lua"
89 if lfs.attributes(module, "mode") ~= "file" then
93 return dofile(module)
371 -- This may be a better candidate for a 'utility' module.