Codebase list lua-ldoc / debian/1.4.3-2 tests / simple / simple_alias.lua
debian/1.4.3-2

Tree @debian/1.4.3-2 (Download .tar.gz)

simple_alias.lua @debian/1.4.3-2raw · history · blame

------------
-- A new-style module.
-- Shows how @alias can be used to tell ldoc that a given name
-- is a shorthand for the full module name
-- @alias M

local simple_alias = {}
local M = simple_alias

--- return the answer. And complete the description
function M.answer()
  return 42
end

return simple_alias