File: one.lua

package info (click to toggle)
lua-ldoc 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (23 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--[[
A non-doc comment
multi-line
probably containing license information!
Doesn't use module(), but module name is inferred from file name.
If you have initial licence comments that look like doc comments,
then set `boilerplate=true`
]]
------------
-- Test module,
-- Actual blurb here!
----

local one = {}

--- answer to everything.
function one.answer ()
    return 42
end

return one