File: simple_alias.lua

package info (click to toggle)
lua-ldoc 1.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (16 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (6)
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