summaryrefslogtreecommitdiff
path: root/Data/Libraries/LDoc/tests/simple/simple_alias.lua
blob: 72d17af1766b7a0c1002144f4901733f7a388136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
------------
-- 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