Module:Module introspection: Difference between revisions
m bugfix module counting |
mNo edit summary |
||
| Line 252: | Line 252: | ||
-- Return the tables as strings | -- Return the tables as strings | ||
local summary = string.format("'''Introspection summary:''' Module:%s requires %d Lua | local summary = string.format("'''Introspection summary:''' Module:%s requires %d Lua module(s) and provides %d functions(s).", module_name, num_deps, #module_funcs) | ||
return summary .. "\n" .. dep_table .. "\n" .. func_table | return summary .. "\n" .. dep_table .. "\n" .. func_table | ||
end | end | ||